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 a6f4acb2f6..91d783df9e 100644
--- a/video/out/gl_cocoa.c
+++ b/video/out/gl_cocoa.c
@@ -32,7 +32,7 @@ static void gl_clear(void *ctx)
static bool config_window_cocoa(struct MPGLContext *ctx, uint32_t d_width,
uint32_t d_height, uint32_t flags)
{
- int rv = vo_cocoa_config_window(ctx->vo, d_width, d_height, flags,
+ int rv = vo_cocoa_config_window(ctx->vo, flags,
ctx->requested_gl_version >= MPGL_VER(3, 0));
if (rv != 0)
return false;