src/video/quartz/SDL_QuartzVideo.h
changeset 770 ac44ddb84f6f
parent 761 c5b2b6d2d1fe
child 777 6f4fe7f2063b
     1.1 --- a/src/video/quartz/SDL_QuartzVideo.h	Sun Jan 04 16:49:27 2004 +0000
     1.2 +++ b/src/video/quartz/SDL_QuartzVideo.h	Sun Jan 04 17:04:54 2004 +0000
     1.3 @@ -66,6 +66,15 @@
     1.4  #include "SDL_pixels_c.h"
     1.5  #include "SDL_events_c.h"
     1.6  
     1.7 +/* 
     1.8 +    This is a workaround to directly access NSOpenGLContext's CGL context
     1.9 +    We need this to check for errors NSOpenGLContext doesn't support
    1.10 +*/
    1.11 +@interface NSOpenGLContext (CGLContextAccess)
    1.12 +- (CGLContextObj) cglContext;
    1.13 +@end
    1.14 +
    1.15 +
    1.16  /* Main driver structure to store required state information */
    1.17  typedef struct SDL_PrivateVideoData {
    1.18