summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-14 19:15:20 +0100
committerwm4 <wm4@nowhere>2013-11-14 19:51:40 +0100
commit597a143ec6d0fd42c6d8afdbc96d2eb0720e998b (patch)
treea8ac58f3b77e47fa5abbc44371c9f70df872bbbd /video
parent2b39c5d87ca520f492884e0f1dd4bd2cdc6c647d (diff)
downloadmpv-597a143ec6d0fd42c6d8afdbc96d2eb0720e998b.tar.bz2
mpv-597a143ec6d0fd42c6d8afdbc96d2eb0720e998b.tar.xz
gl_common: remove unneeded callback
We got rid of this some time ago, but apparently not completely.
Diffstat (limited to 'video')
-rw-r--r--video/out/gl_cocoa.c1
-rw-r--r--video/out/gl_common.h1
-rw-r--r--video/out/gl_w32.c1
-rw-r--r--video/out/gl_x11.c1
4 files changed, 0 insertions, 4 deletions
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;