diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-12-03 20:40:06 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-12-03 20:40:06 +0100 |
commit | 82afc0f343e9b5d561051ebee51d0feffbde0377 (patch) | |
tree | 496229fd78c078a953595ed2bbc673d7e4a0c2b7 /video/out/cocoa_common.m | |
parent | 0c6d85f6c36703d5e6fe1c2696fb4376cee5b46e (diff) | |
download | mpv-82afc0f343e9b5d561051ebee51d0feffbde0377.tar.bz2 mpv-82afc0f343e9b5d561051ebee51d0feffbde0377.tar.xz |
vda: use implicit current GL context
Removes the dependency from the Cocoa backend in case we are not using
it but still wanna use VDA GL introp.
Diffstat (limited to 'video/out/cocoa_common.m')
-rw-r--r-- | video/out/cocoa_common.m | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m index 83c006d86f..dca4290d07 100644 --- a/video/out/cocoa_common.m +++ b/video/out/cocoa_common.m @@ -716,17 +716,6 @@ int vo_cocoa_control(struct vo *vo, int *events, int request, void *arg) return VO_NOTIMPL; } -void *vo_cocoa_cgl_context(struct vo *vo) -{ - struct vo_cocoa_state *s = vo->cocoa; - return [s->gl_ctx CGLContextObj]; -} - -void *vo_cocoa_cgl_pixel_format(struct vo *vo) -{ - return CGLGetPixelFormat(vo_cocoa_cgl_context(vo)); -} - @implementation MpvCocoaAdapter @synthesize vout = _video_output; |