diff options
author | wm4 <wm4@nowhere> | 2014-05-07 21:34:05 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-07 21:34:05 +0200 |
commit | ca343d82a6a1deffb09caf9974769c5b27130d0d (patch) | |
tree | 27d21c20816b18a69e36167164c7a578266eb115 /video/out/gl_common.c | |
parent | b9474ab87555bbbdfc05d33da342801d4ff76fa7 (diff) | |
download | mpv-ca343d82a6a1deffb09caf9974769c5b27130d0d.tar.bz2 mpv-ca343d82a6a1deffb09caf9974769c5b27130d0d.tar.xz |
video/out: remove unused config() parameters
This was cleaned up yesterday.
Diffstat (limited to 'video/out/gl_common.c')
-rw-r--r-- | video/out/gl_common.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c index e363206b08..9c28b5401c 100644 --- a/video/out/gl_common.c +++ b/video/out/gl_common.c @@ -957,15 +957,14 @@ MPGLContext *mpgl_init(struct vo *vo, const char *backend_name) return ctx; } -bool mpgl_config_window(struct MPGLContext *ctx, int gl_caps, uint32_t d_width, - uint32_t d_height, uint32_t flags) +bool mpgl_config_window(struct MPGLContext *ctx, int gl_caps, int flags) { gl_caps |= MPGL_CAP_GL; ctx->requested_gl_version = (gl_caps & MPGL_CAP_GL_LEGACY) ? MPGL_VER(2, 1) : MPGL_VER(3, 0); - if (ctx->config_window(ctx, d_width, d_height, flags)) { + if (ctx->config_window(ctx, flags)) { int missing = (ctx->gl->mpgl_caps & gl_caps) ^ gl_caps; if (!missing) return true; |