From 597a143ec6d0fd42c6d8afdbc96d2eb0720e998b Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 14 Nov 2013 19:15:20 +0100 Subject: gl_common: remove unneeded callback We got rid of this some time ago, but apparently not completely. --- video/out/gl_cocoa.c | 1 - video/out/gl_common.h | 1 - video/out/gl_w32.c | 1 - video/out/gl_x11.c | 1 - 4 files changed, 4 deletions(-) (limited to 'video') diff --git a/video/out/gl_cocoa.c b/video/out/gl_cocoa.c index 80be3a471d..a6f4acb2f6 100644 --- a/video/out/gl_cocoa.c +++ b/video/out/gl_cocoa.c @@ -70,7 +70,6 @@ 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->vo_init = vo_cocoa_init; ctx->register_resize_callback = vo_cocoa_register_resize_callback; ctx->vo_uninit = vo_cocoa_uninit; diff --git a/video/out/gl_common.h b/video/out/gl_common.h index 6339b573b0..b5dc1a27a4 100644 --- a/video/out/gl_common.h +++ b/video/out/gl_common.h @@ -109,7 +109,6 @@ typedef struct MPGLContext { int requested_gl_version; void (*swapGlBuffers)(struct MPGLContext *); - int (*check_events)(struct vo *vo); int (*vo_init)(struct vo *vo); void (*vo_uninit)(struct vo *vo); int (*vo_control)(struct vo *vo, int *events, int request, void *arg); diff --git a/video/out/gl_w32.c b/video/out/gl_w32.c index 10e2ff9df8..1f0e021895 100644 --- a/video/out/gl_w32.c +++ b/video/out/gl_w32.c @@ -206,7 +206,6 @@ void mpgl_set_backend_w32(MPGLContext *ctx) ctx->config_window = config_window_w32; ctx->releaseGlContext = releaseGlContext_w32; ctx->swapGlBuffers = swapGlBuffers_w32; - ctx->check_events = vo_w32_check_events; ctx->vo_init = vo_w32_init; ctx->vo_uninit = vo_w32_uninit; ctx->vo_control = vo_w32_control; diff --git a/video/out/gl_x11.c b/video/out/gl_x11.c index 2ed0bfbef5..a4ade18bca 100644 --- a/video/out/gl_x11.c +++ b/video/out/gl_x11.c @@ -311,7 +311,6 @@ void mpgl_set_backend_x11(MPGLContext *ctx) ctx->config_window = config_window_x11; ctx->releaseGlContext = releaseGlContext_x11; ctx->swapGlBuffers = swapGlBuffers_x11; - ctx->check_events = vo_x11_check_events; ctx->vo_init = vo_x11_init; ctx->vo_uninit = vo_x11_uninit; ctx->vo_control = vo_x11_control; -- cgit v1.2.3