]> git.sesse.net Git - vlc/blobdiff - modules/video_output/opengllayer.m
Swedish translation update by Daniel Nylander
[vlc] / modules / video_output / opengllayer.m
index 27128c051178151047eafc542fdaf174d814bac9..aed86020f95703c612c0da1ab5d84059afe960f9 100644 (file)
@@ -36,7 +36,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_vout.h>
 
@@ -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