summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-24 23:29:54 +0100
committerwm4 <wm4@nowhere>2015-01-24 23:29:54 +0100
commit32f726703ddb22a83c57ad5f03177c89f8966c1d (patch)
treec88a669927d1c68ab33386c727adf6c758bda8c7 /video/out
parent8657b8e1f3c247dcba441a4c61e3beef2acc2cd4 (diff)
downloadmpv-32f726703ddb22a83c57ad5f03177c89f8966c1d.tar.bz2
mpv-32f726703ddb22a83c57ad5f03177c89f8966c1d.tar.xz
vo_opengl: remove remnants of dropped stereo buffer support
Diffstat (limited to 'video/out')
-rw-r--r--video/out/gl_w32.c3
-rw-r--r--video/out/gl_x11.c11
-rw-r--r--video/out/vo.h1
3 files changed, 0 insertions, 15 deletions
diff --git a/video/out/gl_w32.c b/video/out/gl_w32.c
index 3af58cf21d..f2b7cf63d3 100644
--- a/video/out/gl_w32.c
+++ b/video/out/gl_w32.c
@@ -48,9 +48,6 @@ static bool create_dc(struct MPGLContext *ctx, int flags)
pfd.nVersion = 1;
pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER;
- if (flags & VOFLAG_STEREO)
- pfd.dwFlags |= PFD_STEREO;
-
pfd.iPixelType = PFD_TYPE_RGBA;
pfd.cColorBits = 24;
pfd.iLayerType = PFD_MAIN_PLANE;
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) {
diff --git a/video/out/vo.h b/video/out/vo.h
index 2d298088b0..60680813b8 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -132,7 +132,6 @@ struct voctrl_get_equalizer_args {
#define VOFLAG_FLIPPING 0x08
#define VOFLAG_HIDDEN 0x10 //< Use to create a hidden window
-#define VOFLAG_STEREO 0x20 //< Use to create a stereo-capable window
#define VOFLAG_GL_DEBUG 0x40 // Hint to request debug OpenGL context
#define VOFLAG_ALPHA 0x80 // Hint to request alpha framebuffer