comparison 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
comparison
equal deleted inserted replaced
769:b8d311d90021 770:ac44ddb84f6f
63 #include "SDL_timer.h" 63 #include "SDL_timer.h"
64 #include "SDL_syswm.h" 64 #include "SDL_syswm.h"
65 #include "SDL_sysvideo.h" 65 #include "SDL_sysvideo.h"
66 #include "SDL_pixels_c.h" 66 #include "SDL_pixels_c.h"
67 #include "SDL_events_c.h" 67 #include "SDL_events_c.h"
68
69 /*
70 This is a workaround to directly access NSOpenGLContext's CGL context
71 We need this to check for errors NSOpenGLContext doesn't support
72 */
73 @interface NSOpenGLContext (CGLContextAccess)
74 - (CGLContextObj) cglContext;
75 @end
76
68 77
69 /* Main driver structure to store required state information */ 78 /* Main driver structure to store required state information */
70 typedef struct SDL_PrivateVideoData { 79 typedef struct SDL_PrivateVideoData {
71 80
72 CGDirectDisplayID display; /* 0 == main display (only support single display) */ 81 CGDirectDisplayID display; /* 0 == main display (only support single display) */