summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa_common.m
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-04 16:26:30 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-04 17:31:18 +0200
commitc1d5b182b4a97b0d505868f68c9c83030c691a23 (patch)
tree6605eaa8a00790b514f5bd62af7d0d1a5c345413 /video/out/cocoa_common.m
parentd02275d35ac725a18c28d5a72284be21eb825ff6 (diff)
downloadmpv-c1d5b182b4a97b0d505868f68c9c83030c691a23.tar.bz2
mpv-c1d5b182b4a97b0d505868f68c9c83030c691a23.tar.xz
cocoa: remove dead code
Diffstat (limited to 'video/out/cocoa_common.m')
-rw-r--r--video/out/cocoa_common.m11
1 files changed, 0 insertions, 11 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m
index cbfcaa1359..1a8b8a1d31 100644
--- a/video/out/cocoa_common.m
+++ b/video/out/cocoa_common.m
@@ -71,9 +71,6 @@ struct vo_cocoa_state {
IOPMAssertionID power_mgmt_assertion;
pthread_mutex_t mutex;
- void *ctx;
- void (*gl_clear)(void *ctx);
-
struct mp_log *log;
uint32_t old_dwidth;
@@ -179,14 +176,6 @@ void vo_cocoa_uninit(struct vo *vo)
});
}
-void vo_cocoa_register_gl_clear_callback(struct vo *vo, void *ctx,
- void (*cb)(void *ctx))
-{
- struct vo_cocoa_state *s = vo->cocoa;
- s->ctx = ctx;
- s->gl_clear = cb;
-}
-
static int get_screen_handle(struct vo *vo, int identifier, NSWindow *window,
NSScreen **screen) {
struct vo_cocoa_state *s = vo->cocoa;