From: Kristian Høgsberg Date: Tue, 6 Nov 2007 16:22:59 +0000 (-0500) Subject: Pass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=559ae0ab1b68682716b39d93402a6b9e90c88127;p=mesa.git Pass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id. --- diff --git a/src/glx/x11/glxcmds.c b/src/glx/x11/glxcmds.c index cbc566e917a..80d46f6b23e 100644 --- a/src/glx/x11/glxcmds.c +++ b/src/glx/x11/glxcmds.c @@ -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;