]> git.sesse.net Git - vlc/blobdiff - modules/video_output/opengllayer.m
Fix the activation or not of advanced buttons in fullscreen controller
[vlc] / modules / video_output / opengllayer.m
index c6d8d2e3c135517af033a03ad9d1280ebd090938..aed86020f95703c612c0da1ab5d84059afe960f9 100644 (file)
@@ -44,8 +44,6 @@
 #import <Cocoa/Cocoa.h>
 #import <OpenGL/OpenGL.h>
 
-#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