summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/glxcmds.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2007-11-06 11:22:59 -0500
committerKristian Høgsberg <[email protected]>2007-11-06 11:23:27 -0500
commit559ae0ab1b68682716b39d93402a6b9e90c88127 (patch)
tree50c08961f9229e9649d7cedf9426b4345551fad7 /src/glx/x11/glxcmds.c
parentcd59600c7b6cba42baba208e74d783fbade93356 (diff)
Pass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id.
Diffstat (limited to 'src/glx/x11/glxcmds.c')
-rw-r--r--src/glx/x11/glxcmds.c2
1 files changed, 1 insertions, 1 deletions
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;