cocoa: gl3: support querying color bit depth
commitc17707770cfc22e856c738ce2266791cae50223c
authorStefano Pigozzi <stefano.pigozzi@gmail.com>
Mon, 14 May 2012 14:33:06 +0000 (14 16:33 +0200)
committerUoti Urpala <uau@mplayer2.org>
Mon, 10 Sep 2012 11:14:00 +0000 (10 14:14 +0300)
tree46a8dd94f9d9259ec73a32762e52bc697963465a
parent941668b5a40227012aaf840f1c57eb7d91f756f0
cocoa: gl3: support querying color bit depth

Add support for querying the bit depth of the colors from the OpenGL
context. This allows to perform dithering correctly.
libvo/cocoa_common.h
libvo/cocoa_common.m
libvo/gl_common.c