Pass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id.
This commit is contained in:
parent
cd59600c7b
commit
559ae0ab1b
|
@ -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…
Reference in New Issue