summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/cocoa_common.h')
-rw-r--r--video/out/cocoa_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/cocoa_common.h b/video/out/cocoa_common.h
index 5584ae6b05..453e52c6c6 100644
--- a/video/out/cocoa_common.h
+++ b/video/out/cocoa_common.h
@@ -41,6 +41,9 @@ int vo_cocoa_control(struct vo *vo, int *events, int request, void *arg);
void vo_cocoa_register_resize_callback(struct vo *vo,
void (*cb)(struct vo *vo, int w, int h));
+void vo_cocoa_register_gl_clear_callback(struct vo *vo, void *ctx,
+ void (*cb)(void *ctx));
+
// returns an int to conform to the gl extensions from other platforms
int vo_cocoa_swap_interval(int enabled);