cocoa: return the real CGLPixelFormatObj
commit3ceaddf1896780f82f9ce3a4c53677bc8448054b
authorStefano Pigozzi <stefano.pigozzi@gmail.com>
Tue, 15 May 2012 07:31:38 +0000 (15 09:31 +0200)
committerUoti Urpala <uau@mplayer2.org>
Mon, 10 Sep 2012 11:14:00 +0000 (10 14:14 +0300)
treec720273b70c0247773d1f1bf06c0fe3c05a34709
parentb8f5ac7a34b4fc639b68bd99478f4c2a8ba42964
cocoa: return the real CGLPixelFormatObj

vo_cocoa_cgl_pixel_format returned a cached CGLPixelFormatObj.
Return the current one by querying the OpenGL context.
libvo/cocoa_common.m