]> git.sesse.net Git - vlc/commitdiff
opengllayer: Don't protect a module by #ifdef you'll end up in warnings. Disable...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 12 Jun 2008 17:47:11 +0000 (19:47 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 12 Jun 2008 17:51:18 +0000 (19:51 +0200)
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