X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fvideo_output%2Fopengllayer.m;h=aed86020f95703c612c0da1ab5d84059afe960f9;hb=7ca4e3eb624251feb1f97cfc25104cce473e04a0;hp=c6d8d2e3c135517af033a03ad9d1280ebd090938;hpb=3561b9b28f58eb7a4183e158a8fd973800d31ceb;p=vlc diff --git a/modules/video_output/opengllayer.m b/modules/video_output/opengllayer.m index c6d8d2e3c1..aed86020f9 100644 --- a/modules/video_output/opengllayer.m +++ b/modules/video_output/opengllayer.m @@ -44,8 +44,6 @@ #import #import -#ifdef CALayer - /* On OS X, use GL_TEXTURE_RECTANGLE_EXT instead of GL_TEXTURE_2D. This allows sizes which are not powers of 2 */ #define VLCGL_TARGET GL_TEXTURE_RECTANGLE_EXT @@ -518,5 +516,3 @@ static int InitTextures( vout_thread_t *p_vout ) CGLUnlockContext( glContext ); } @end - -#endif