summaryrefslogtreecommitdiffstats
path: root/video/out/gl_cocoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_cocoa.c')
-rw-r--r--video/out/gl_cocoa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_cocoa.c b/video/out/gl_cocoa.c
index 014bf38204..1ff9c668ed 100644
--- a/video/out/gl_cocoa.c
+++ b/video/out/gl_cocoa.c
@@ -141,7 +141,7 @@ static bool config_window_cocoa(struct MPGLContext *ctx, int flags)
if (!ctx->gl->SwapInterval)
ctx->gl->SwapInterval = set_swap_interval;
- vo_cocoa_config_window(ctx->vo, flags, p->ctx);
+ vo_cocoa_config_window(ctx->vo, flags);
return true;
}