diff src/video/quartz/SDL_QuartzVideo.h @ 770:ac44ddb84f6f

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sun, 04 Jan 2004 17:04:54 +0000
parents c5b2b6d2d1fe
children 6f4fe7f2063b
line wrap: on
line diff
--- 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 {