summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-03 16:50:13 +0200
committerwm4 <wm4@nowhere>2012-10-16 07:26:31 +0200
commitcf61928eecd87ba29324e501a3e4a0efde25d874 (patch)
tree4f796caef4fb3a15f0ffa89d6b4c9d94c8cd0fe3 /libvo/gl_common.c
parent466fc6d4d18ac1751527ccfff8f3c39eb3ff1e4b (diff)
downloadmpv-cf61928eecd87ba29324e501a3e4a0efde25d874.tar.bz2
mpv-cf61928eecd87ba29324e501a3e4a0efde25d874.tar.xz
vo_gl, options: remove doublebuffering option (--double)
Useless. It complicated the code and caused flicker, and was useless otherwise. The manpage describes this option as "should not normally be used". One possibly useful effect from the point of view of the user was that vsync was disabled. You can do this with the --vsync option, or by changing X/driver settings directly.
Diffstat (limited to 'libvo/gl_common.c')
-rw-r--r--libvo/gl_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/gl_common.c b/libvo/gl_common.c
index c56b0c8ffc..8ae94f56f3 100644
--- a/libvo/gl_common.c
+++ b/libvo/gl_common.c
@@ -1649,7 +1649,7 @@ void glDisable3D(GL *gl, int type)
gl->ColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
break;
case GL_3D_QUADBUFFER:
- gl->DrawBuffer(vo_doublebuffering ? GL_BACK : GL_FRONT);
+ gl->DrawBuffer(GL_BACK);
gl->GetIntegerv(GL_DRAW_BUFFER, &buffer);
switch (buffer) {
case GL_FRONT: