mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
Must use glFlush when doublebuffering is not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17118 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6b9f08f720
commit
cd8e16a22e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user