diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-09-16 11:24:38 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-10-16 07:19:32 +0200 |
commit | 5db96c083706970f2c297e83afe20d74c4ecc5d1 (patch) | |
tree | 3ecb0335605c0899bb07c9a59226e6d459d39054 | |
parent | 539021c779c12881fd0f83ed4b8d43822598a6b4 (diff) | |
download | mpv-5db96c083706970f2c297e83afe20d74c4ecc5d1.tar.bz2 mpv-5db96c083706970f2c297e83afe20d74c4ecc5d1.tar.xz |
gl_common: remove useless cocoa wrapper functions
-rw-r--r-- | libvo/gl_common.c | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/libvo/gl_common.c b/libvo/gl_common.c index fabd4e23d7..44188481b9 100644 --- a/libvo/gl_common.c +++ b/libvo/gl_common.c @@ -1982,21 +1982,6 @@ static void swapGlBuffers_cocoa(MPGLContext *ctx) { vo_cocoa_swap_buffers(ctx->vo); } - -static int cocoa_check_events(struct vo *vo) -{ - return vo_cocoa_check_events(vo); -} - -static void cocoa_update_xinerama_info(struct vo *vo) -{ - vo_cocoa_update_xinerama_info(vo); -} - -static void cocoa_fullscreen(struct vo *vo) -{ - vo_cocoa_fullscreen(vo); -} #endif #ifdef CONFIG_GL_WIN32 @@ -2487,9 +2472,9 @@ MPGLContext *mpgl_init(enum MPGLType type, struct vo *vo) ctx->create_window_gl3 = create_window_cocoa_gl3; ctx->releaseGlContext = releaseGlContext_cocoa; ctx->swapGlBuffers = swapGlBuffers_cocoa; - ctx->check_events = cocoa_check_events; - ctx->update_xinerama_info = cocoa_update_xinerama_info; - ctx->fullscreen = cocoa_fullscreen; + ctx->check_events = vo_cocoa_check_events; + ctx->update_xinerama_info = vo_cocoa_update_xinerama_info; + ctx->fullscreen = vo_cocoa_fullscreen; ctx->ontop = vo_cocoa_ontop; ctx->vo_init = vo_cocoa_init; ctx->pause = vo_cocoa_pause; |