mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
fix GLX_STEREO handling (bug 11705)
This commit is contained in:
parent
76fb808910
commit
da2f1e88bc
1 changed files with 6 additions and 1 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue