diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-07-23 16:51:57 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-07-23 16:51:57 -0600 |
commit | da2f1e88bc63403a95b89706905c070b7c894863 (patch) | |
tree | 18ea05173b1d4bfa98e89caa58586d640157d982 /src | |
parent | 76fb8089103e9dba9aaa7232c86d864d5874a08f (diff) |
fix GLX_STEREO handling (bug 11705)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/x11/fakeglx.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index 1587df66bcd..7a170b4d3d1 100644 --- 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++; |