summaryrefslogtreecommitdiffstats
path: root/video/out/vo_corevideo.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_corevideo.c')
-rw-r--r--video/out/vo_corevideo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/vo_corevideo.c b/video/out/vo_corevideo.c
index 5ffcc64043..22e9afcc24 100644
--- a/video/out/vo_corevideo.c
+++ b/video/out/vo_corevideo.c
@@ -543,8 +543,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *params, int flags)
p->image_height = params->h;
int mpgl_caps = MPGL_CAP_GL_LEGACY;
- if (!mpgl_config_window(
- p->mpglctx, mpgl_caps, vo->dwidth, vo->dheight, flags))
+ if (!mpgl_config_window(p->mpglctx, mpgl_caps, flags))
return -1;
init_gl(vo, vo->dwidth, vo->dheight);