summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context_cocoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/context_cocoa.c')
-rw-r--r--video/out/opengl/context_cocoa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/context_cocoa.c b/video/out/opengl/context_cocoa.c
index 267c706d62..941274ce6c 100644
--- a/video/out/opengl/context_cocoa.c
+++ b/video/out/opengl/context_cocoa.c
@@ -153,6 +153,7 @@ static int cocoa_control(struct MPGLContext *ctx, int *events, int request,
static void cocoa_swap_buffers(struct MPGLContext *ctx)
{
vo_cocoa_swap_buffers(ctx->vo);
+ ctx->gl->Flush();
}
const struct mpgl_driver mpgl_driver_cocoa = {