projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76fb808
)
fix GLX_STEREO handling (bug 11705)
author
Brian
<brian.paul@tungstengraphics.com>
Mon, 23 Jul 2007 22:51:57 +0000
(16:51 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Mon, 23 Jul 2007 22:51:57 +0000
(16:51 -0600)
src/mesa/drivers/x11/fakeglx.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/x11/fakeglx.c
b/src/mesa/drivers/x11/fakeglx.c
index 1587df66bcd48f1ce8e8db76427d1cc30826326b..7a170b4d3d10b7e0eb3fddd5b9e03bc4397e10ff 100644
(file)
--- a/
src/mesa/drivers/x11/fakeglx.c
+++ b/
src/mesa/drivers/x11/fakeglx.c
@@
-296,6
+296,11
@@
save_glx_visual( Display *dpy, XVisualInfo *vinfo,
}
}
+ if (stereoFlag) {
+ /* stereo not supported */
+ return NULL;
+ }
+
/* Comparing IDs uses less memory but sometimes fails. */
/* XXX revisit this after 3.0 is finished. */
if (_mesa_getenv("MESA_GLX_VISUAL_HACK"))
@@
-1079,7
+1084,7
@@
choose_visual( Display *dpy, int screen, const int *list, GLboolean fbConfig )
else {
stereo_flag = GL_TRUE;
}
- return NULL; /* stereo not supported */
+ break;
case GLX_AUX_BUFFERS:
parselist++;
numAux = *parselist++;