diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-05-14 16:33:06 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-05-15 10:37:58 +0200 |
commit | 43337db0a49029da316157d9bc57e9c44e846e69 (patch) | |
tree | 4644c331af38cab4fa8de6a1f5468ec648c43afa /libvo/cocoa_common.h | |
parent | 4a2bd440dd71faf6852d3653de02fc512ce8244f (diff) | |
download | mpv-43337db0a49029da316157d9bc57e9c44e846e69.tar.bz2 mpv-43337db0a49029da316157d9bc57e9c44e846e69.tar.xz |
cocoa: gl3: support querying of colors bit depth
Add support for querying the bit depth of the colors from the OpenGL
context. This allows to perform dithering correctly.
Diffstat (limited to 'libvo/cocoa_common.h')
-rw-r--r-- | libvo/cocoa_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/cocoa_common.h b/libvo/cocoa_common.h index 1a2ec7bd75..943a5fb8ba 100644 --- a/libvo/cocoa_common.h +++ b/libvo/cocoa_common.h @@ -46,4 +46,6 @@ int vo_cocoa_swap_interval(int enabled); void *vo_cocoa_cgl_context(void); void *vo_cocoa_cgl_pixel_format(void); +int vo_cocoa_cgl_color_size(void); + #endif /* MPLAYER_COCOA_COMMON_H */ |