src/video/cocoa/SDL_cocoaopengl.m
changeset 7897 622d75108e60
parent 7894 bb624b1348da
child 8083 3782a12331d6
equal deleted inserted replaced
7896:0bca3fe7c03f 7897:622d75108e60
    35 
    35 
    36 #define DEFAULT_OPENGL  "/System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib"
    36 #define DEFAULT_OPENGL  "/System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib"
    37 
    37 
    38 #if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
    38 #if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
    39 /* New methods for converting to and from backing store pixels, taken from
    39 /* New methods for converting to and from backing store pixels, taken from
    40  * AppKite/NSView.h in 10.8 SDK. */
    40  * AppKit/NSView.h in 10.8 SDK. */
    41 @interface NSView (Backing)
    41 @interface NSView (Backing)
    42 - (NSPoint)convertPointToBacking:(NSPoint)aPoint;
    42 - (NSPoint)convertPointToBacking:(NSPoint)aPoint;
    43 - (NSPoint)convertPointFromBacking:(NSPoint)aPoint;
    43 - (NSPoint)convertPointFromBacking:(NSPoint)aPoint;
    44 - (NSSize)convertSizeToBacking:(NSSize)aSize;
    44 - (NSSize)convertSizeToBacking:(NSSize)aSize;
    45 - (NSSize)convertSizeFromBacking:(NSSize)aSize;
    45 - (NSSize)convertSizeFromBacking:(NSSize)aSize;