diff options
Diffstat (limited to 'video/out/gl_cocoa.c')
-rw-r--r-- | video/out/gl_cocoa.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/video/out/gl_cocoa.c b/video/out/gl_cocoa.c index 81be21da58..7f3b38a422 100644 --- a/video/out/gl_cocoa.c +++ b/video/out/gl_cocoa.c @@ -51,17 +51,20 @@ static void swapGlBuffers_cocoa(MPGLContext *ctx) vo_cocoa_swap_buffers(ctx->vo); } +static void set_current_cocoa(MPGLContext *ctx, bool current) +{ + vo_cocoa_set_current_context(ctx->vo, current); +} + void mpgl_set_backend_cocoa(MPGLContext *ctx) { ctx->config_window = config_window_cocoa; ctx->releaseGlContext = releaseGlContext_cocoa; ctx->swapGlBuffers = swapGlBuffers_cocoa; 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; - ctx->resume = vo_cocoa_resume; + ctx->register_resize_callback = vo_cocoa_register_resize_callback; ctx->vo_uninit = vo_cocoa_uninit; + ctx->vo_control = vo_cocoa_control; + ctx->set_current = set_current_cocoa; } |