From b7111557a977e5ed3b3383f0db3f8c3f56ee40ec Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 4 Jan 2004 17:04:54 +0000 Subject: [PATCH] *** empty log message *** --- src/video/quartz/SDL_QuartzGL.m | 7 ------- src/video/quartz/SDL_QuartzVideo.h | 9 +++++++++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/video/quartz/SDL_QuartzGL.m b/src/video/quartz/SDL_QuartzGL.m index d0a197e0f..aafca6968 100644 --- a/src/video/quartz/SDL_QuartzGL.m +++ b/src/video/quartz/SDL_QuartzGL.m @@ -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 --git a/src/video/quartz/SDL_QuartzVideo.h b/src/video/quartz/SDL_QuartzVideo.h index 014fd3d8f..f2eeac742 100644 --- a/src/video/quartz/SDL_QuartzVideo.h +++ b/src/video/quartz/SDL_QuartzVideo.h @@ -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 {