diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-06 22:35:54 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-06 22:35:54 +0000 |
commit | cd8e16a22ef9a135bcf713a88fb676832b0c6cfc (patch) | |
tree | 153d7c4f41a0d79f054b43f9d8b1c591c4bdd603 /libvo | |
parent | 6b9f08f720b23739e0ff7c9e3dbdf1f97e7867dd (diff) | |
download | mpv-cd8e16a22ef9a135bcf713a88fb676832b0c6cfc.tar.bz2 mpv-cd8e16a22ef9a135bcf713a88fb676832b0c6cfc.tar.xz |
Must use glFlush when doublebuffering is not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17118 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_gl.c | 3 |
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); |