mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
Pass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id.
This commit is contained in:
parent
cd59600c7b
commit
559ae0ab1b
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ CreateContext(Display *dpy, XVisualInfo *vis,
|
|||
|
||||
|
||||
if (!XF86DRICreateContextWithConfig(dpy, psc->scr,
|
||||
mode->fbconfigID,
|
||||
mode->visualID,
|
||||
&gc->hwContextID, &hwContext))
|
||||
/* gah, handle this better */
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue