summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/common.c')
-rw-r--r--video/out/opengl/common.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/video/out/opengl/common.c b/video/out/opengl/common.c
index 5c4eeda7fd..f045184373 100644
--- a/video/out/opengl/common.c
+++ b/video/out/opengl/common.c
@@ -629,10 +629,9 @@ MPGLContext *mpgl_init(struct vo *vo, const char *backend_name, int vo_flags)
return ctx;
}
-// flags: passed to the backend function
-bool mpgl_reconfig_window(struct MPGLContext *ctx, int vo_flags)
+int mpgl_reconfig_window(struct MPGLContext *ctx)
{
- return ctx->driver->reconfig(ctx, vo_flags) >= 0;
+ return ctx->driver->reconfig(ctx);
}
int mpgl_control(struct MPGLContext *ctx, int *events, int request, void *arg)