src/video/cocoa/SDL_cocoaopengl.m
changeset 8083 3782a12331d6
parent 7897 622d75108e60
child 8093 b43765095a6f
     1.1 --- a/src/video/cocoa/SDL_cocoaopengl.m	Fri Dec 27 09:29:39 2013 -0300
     1.2 +++ b/src/video/cocoa/SDL_cocoaopengl.m	Fri Dec 27 10:18:11 2013 -0800
     1.3 @@ -35,19 +35,6 @@
     1.4  
     1.5  #define DEFAULT_OPENGL  "/System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib"
     1.6  
     1.7 -#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
     1.8 -/* New methods for converting to and from backing store pixels, taken from
     1.9 - * AppKit/NSView.h in 10.8 SDK. */
    1.10 -@interface NSView (Backing)
    1.11 -- (NSPoint)convertPointToBacking:(NSPoint)aPoint;
    1.12 -- (NSPoint)convertPointFromBacking:(NSPoint)aPoint;
    1.13 -- (NSSize)convertSizeToBacking:(NSSize)aSize;
    1.14 -- (NSSize)convertSizeFromBacking:(NSSize)aSize;
    1.15 -- (NSRect)convertRectToBacking:(NSRect)aRect;
    1.16 -- (NSRect)convertRectFromBacking:(NSRect)aRect;
    1.17 -@end
    1.18 -#endif
    1.19 -
    1.20  #ifndef kCGLPFAOpenGLProfile
    1.21  #define kCGLPFAOpenGLProfile 99
    1.22  #endif