vo_gl: cocoa: point swapinterval to cocoa_common function
commitb2a41e20be6c1831543e72987ce7d285655fc311
authorStefano Pigozzi <stefano.pigozzi@gmail.com>
Sun, 4 Dec 2011 20:53:43 +0000 (4 21:53 +0100)
committerStefano Pigozzi <stefano.pigozzi@gmail.com>
Tue, 6 Dec 2011 22:11:50 +0000 (6 23:11 +0100)
treeccc6c6ba44ab1491191413ae3358bdba1007a780
parentbd8ba89cca217cc78df31a357f77220a618a9b9a
vo_gl: cocoa: point swapinterval to cocoa_common function

Currently there is no way to set the swap interval with a function
that has a signature compatible with other platforms' gl extensions.

Make a wrapper function around the gui toolkit method of setting the
swap interval property, and point gl->SwapInterval to it.
libvo/cocoa_common.h
libvo/cocoa_common.m
libvo/gl_common.c