From cd8e16a22ef9a135bcf713a88fb676832b0c6cfc Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 6 Dec 2005 22:35:54 +0000 Subject: Must use glFlush when doublebuffering is not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17118 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libvo/vo_gl.c') 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); -- cgit v1.2.3