#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
CGLUnlockContext( glContext );
}
@end
-
-#endif