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.h | |
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.h')
-rw-r--r-- | video/out/gl_common.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h index f678dbf12a..6f973e23be 100644 --- a/video/out/gl_common.h +++ b/video/out/gl_common.h @@ -123,8 +123,7 @@ typedef struct MPGLContext { // GL context. (The caller must check if the created GL version is ok. The // callee must try to fall back to an older version if the requested // version is not available, and newer versions are incompatible.) - bool (*config_window)(struct MPGLContext *ctx, uint32_t d_width, - uint32_t d_height, uint32_t flags); + bool (*config_window)(struct MPGLContext *ctx, int flags); // An optional function to register a resize callback in the backend that // can be called on separate thread to handle resize events immediately @@ -151,8 +150,7 @@ bool mpgl_is_thread_safe(MPGLContext *ctx); // gl_caps: bitfield of MPGL_CAP_* (required GL version and feature set) // flags: passed to the backend's create window function // Returns success. -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); int mpgl_find_backend(const char *name); |