From 559ae0ab1b68682716b39d93402a6b9e90c88127 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Tue, 6 Nov 2007 11:22:59 -0500 Subject: Pass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id. --- src/glx/x11/glxcmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3