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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index e547bd6346..5440fa1af2 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -173,11 +173,11 @@ static int query_format(struct vo *vo, int format)
return 1;
}
-static int reconfig(struct vo *vo, struct mp_image_params *params, int flags)
+static int reconfig(struct vo *vo, struct mp_image_params *params)
{
struct gl_priv *p = vo->priv;
- if (!mpgl_reconfig_window(p->glctx, flags))
+ if (mpgl_reconfig_window(p->glctx) < 0)
return -1;
resize(p);