summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_gl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 3264caa8cc..1176439c90 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -530,11 +530,12 @@ flip_page(void)
BindTexture(gl_target, 0);
}
-// glFlush();
if (use_glFinish)
glFinish();
if (vo_doublebuffering)
swapGlBuffers();
+ else if (!use_glFinish)
+ glFlush();
if (vo_fs && use_aspect && vo_doublebuffering)
glClear(GL_COLOR_BUFFER_BIT);