summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r--video/out/vo_opengl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index ae5f1f9bd0..c80506039c 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -105,6 +105,9 @@ static void flip_page(struct vo *vo)
if (p->frames_rendered > 5)
gl_video_set_debug(p->renderer, false);
+ if (p->use_glFinish)
+ p->gl->Finish();
+
mpgl_unlock(p->glctx);
}