summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-10 14:36:23 +0100
committerwm4 <wm4@nowhere>2015-11-10 14:36:23 +0100
commit4682b0147e66f2e9b573510ae21f701a851d355a (patch)
treead0da501ce9b519a8bcb966928e5750f63a8af5a /video/out/vo_opengl.c
parent479eb93d9eca84e696f08844ed92b369ab0e9c23 (diff)
downloadmpv-4682b0147e66f2e9b573510ae21f701a851d355a.tar.bz2
mpv-4682b0147e66f2e9b573510ae21f701a851d355a.tar.xz
vo_opengl: move the glFlush() call to the renderer
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r--video/out/vo_opengl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index ccd52cde69..23a22a3f7e 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -136,11 +136,6 @@ static void draw_frame(struct vo *vo, struct vo_frame *frame)
gl_video_render_frame(p->renderer, frame, 0);
- // The playloop calls this last before waiting some time until it decides
- // to call flip_page(). Tell OpenGL to start execution of the GPU commands
- // while we sleep (this happens asynchronously).
- gl->Flush();
-
if (p->use_glFinish)
gl->Finish();
}