Mercurial > sdl-ios-xcode
comparison src/video/quartz/SDL_QuartzGL.m @ 770:ac44ddb84f6f
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 04 Jan 2004 17:04:54 +0000 |
parents | c5b2b6d2d1fe |
children | ce05e92d909b |
comparison
equal
deleted
inserted
replaced
769:b8d311d90021 | 770:ac44ddb84f6f |
---|---|
20 slouken@libsdl.org | 20 slouken@libsdl.org |
21 */ | 21 */ |
22 | 22 |
23 #include "SDL_QuartzVideo.h" | 23 #include "SDL_QuartzVideo.h" |
24 | 24 |
25 /* | |
26 This is a workaround to directly access NSOpenGLContext's CGL context | |
27 We need this to check for errors NSOpenGLContext doesn't support | |
28 */ | |
29 @interface NSOpenGLContext (CGLContextAccess) | |
30 - (CGLContextObj) cglContext; | |
31 @end | |
32 | 25 |
33 @implementation NSOpenGLContext (CGLContextAccess) | 26 @implementation NSOpenGLContext (CGLContextAccess) |
34 - (CGLContextObj) cglContext; | 27 - (CGLContextObj) cglContext; |
35 { | 28 { |
36 return _contextAuxiliary; | 29 return _contextAuxiliary; |