# HG changeset patch # User Sam Lantinga # Date 1073235894 0 # Node ID ac44ddb84f6f1205b938847b152efb7ee8696abd # Parent b8d311d900217929057035d4d65f56a76c5713f6 *** empty log message *** diff -r b8d311d90021 -r ac44ddb84f6f src/video/quartz/SDL_QuartzGL.m --- a/src/video/quartz/SDL_QuartzGL.m Sun Jan 04 16:49:27 2004 +0000 +++ b/src/video/quartz/SDL_QuartzGL.m Sun Jan 04 17:04:54 2004 +0000 @@ -22,13 +22,6 @@ #include "SDL_QuartzVideo.h" -/* - This is a workaround to directly access NSOpenGLContext's CGL context - We need this to check for errors NSOpenGLContext doesn't support -*/ -@interface NSOpenGLContext (CGLContextAccess) -- (CGLContextObj) cglContext; -@end @implementation NSOpenGLContext (CGLContextAccess) - (CGLContextObj) cglContext; diff -r b8d311d90021 -r ac44ddb84f6f src/video/quartz/SDL_QuartzVideo.h --- a/src/video/quartz/SDL_QuartzVideo.h Sun Jan 04 16:49:27 2004 +0000 +++ b/src/video/quartz/SDL_QuartzVideo.h Sun Jan 04 17:04:54 2004 +0000 @@ -66,6 +66,15 @@ #include "SDL_pixels_c.h" #include "SDL_events_c.h" +/* + This is a workaround to directly access NSOpenGLContext's CGL context + We need this to check for errors NSOpenGLContext doesn't support +*/ +@interface NSOpenGLContext (CGLContextAccess) +- (CGLContextObj) cglContext; +@end + + /* Main driver structure to store required state information */ typedef struct SDL_PrivateVideoData {