diff options
author | wm4 <wm4@nowhere> | 2015-01-24 23:29:54 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-24 23:29:54 +0100 |
commit | 32f726703ddb22a83c57ad5f03177c89f8966c1d (patch) | |
tree | c88a669927d1c68ab33386c727adf6c758bda8c7 /video/out/gl_x11.c | |
parent | 8657b8e1f3c247dcba441a4c61e3beef2acc2cd4 (diff) | |
download | mpv-32f726703ddb22a83c57ad5f03177c89f8966c1d.tar.bz2 mpv-32f726703ddb22a83c57ad5f03177c89f8966c1d.tar.xz |
vo_opengl: remove remnants of dropped stereo buffer support
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) { |