Commit 67b654a4 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

opengllayer: Don't protect a module by #ifdef you'll end up in warnings....

opengllayer: Don't protect a module by #ifdef you'll end up in warnings. Disable it at configure time if needed.
parent 6a5fc04e
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment