mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-03 01:31:53 +02:00
opengllayer: Don't protect a module by #ifdef you'll end up in warnings. Disable it at configure time if needed.
This commit is contained in:
parent
6a5fc04ec3
commit
67b654a451
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user