From 291f301c105ca989db6165108fd9dd1c57cde56d Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 3 Oct 2015 18:20:16 +0200 Subject: video/out: remove an unused parameter This parameter has been unused for years (the last flag was removed in commit d658b115). Get rid of it. This affects the general VO API, as well as the vo_opengl backend API, so it touches a lot of files. The VOFLAGs are still used to control OpenGL context creation, so move them to the OpenGL backend code. --- video/out/opengl/common.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'video/out/opengl/common.c') 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) -- cgit v1.2.3