Pass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id.

This commit is contained in:
Kristian Høgsberg 2007-11-06 11:22:59 -05:00
parent cd59600c7b
commit 559ae0ab1b
1 changed files with 1 additions and 1 deletions

View File

@ -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;