diff options
Diffstat (limited to 'video/out/gl_x11.c')
-rw-r--r-- | video/out/gl_x11.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/video/out/gl_x11.c b/video/out/gl_x11.c index fa1ab62a28..8a67e0e13f 100644 --- a/video/out/gl_x11.c +++ b/video/out/gl_x11.c @@ -207,7 +207,6 @@ static bool config_window_x11(struct MPGLContext *ctx, int flags) } int glx_attribs[] = { - GLX_STEREO, False, GLX_X_RENDERABLE, True, GLX_X_VISUAL_TYPE, GLX_TRUE_COLOR, GLX_RED_SIZE, 1, @@ -226,16 +225,6 @@ static bool config_window_x11(struct MPGLContext *ctx, int flags) flags &= ~VOFLAG_ALPHA; } } - if (flags & VOFLAG_STEREO) { - set_glx_attrib(glx_attribs, GLX_STEREO, True); - fbc = select_fb_config(vo, glx_attribs, flags); - if (!fbc) { - MP_ERR(vo, "Could not find a stereo visual," - " 3D will probably not work!\n"); - set_glx_attrib(glx_attribs, GLX_STEREO, False); - flags &= ~VOFLAG_STEREO; - } - } if (!fbc) fbc = select_fb_config(vo, glx_attribs, flags); if (!fbc) { |