projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd59600
)
Pass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id.
author
Kristian Høgsberg
<krh@redhat.com>
Tue, 6 Nov 2007 16:22:59 +0000
(11:22 -0500)
committer
Kristian Høgsberg
<krh@redhat.com>
Tue, 6 Nov 2007 16:23:27 +0000
(11:23 -0500)
src/glx/x11/glxcmds.c
patch
|
blob
|
history
diff --git
a/src/glx/x11/glxcmds.c
b/src/glx/x11/glxcmds.c
index cbc566e917a5b438b069100e561f592f8cb429fd..80d46f6b23edfcb80427c89270c801f20d9466e0 100644
(file)
--- 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->
fbconfig
ID,
+ mode->
visual
ID,
&gc->hwContextID, &hwContext))
/* gah, handle this better */
return NULL;