*** empty log message ***
authorSam Lantinga
Sun, 04 Jan 2004 17:04:54 +0000
changeset 770ac44ddb84f6f
parent 769 b8d311d90021
child 771 336603031bab
*** empty log message ***
src/video/quartz/SDL_QuartzGL.m
src/video/quartz/SDL_QuartzVideo.h
     1.1 --- a/src/video/quartz/SDL_QuartzGL.m	Sun Jan 04 16:49:27 2004 +0000
     1.2 +++ b/src/video/quartz/SDL_QuartzGL.m	Sun Jan 04 17:04:54 2004 +0000
     1.3 @@ -22,13 +22,6 @@
     1.4  
     1.5  #include "SDL_QuartzVideo.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  @implementation NSOpenGLContext (CGLContextAccess)
    1.16  - (CGLContextObj) cglContext;
     2.1 --- a/src/video/quartz/SDL_QuartzVideo.h	Sun Jan 04 16:49:27 2004 +0000
     2.2 +++ b/src/video/quartz/SDL_QuartzVideo.h	Sun Jan 04 17:04:54 2004 +0000
     2.3 @@ -66,6 +66,15 @@
     2.4  #include "SDL_pixels_c.h"
     2.5  #include "SDL_events_c.h"
     2.6  
     2.7 +/* 
     2.8 +    This is a workaround to directly access NSOpenGLContext's CGL context
     2.9 +    We need this to check for errors NSOpenGLContext doesn't support
    2.10 +*/
    2.11 +@interface NSOpenGLContext (CGLContextAccess)
    2.12 +- (CGLContextObj) cglContext;
    2.13 +@end
    2.14 +
    2.15 +
    2.16  /* Main driver structure to store required state information */
    2.17  typedef struct SDL_PrivateVideoData {
    2.18