mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 23:37:09 -05:00
*** empty log message ***
This commit is contained in:
parent
32719e7429
commit
44c336b863
|
|
@ -22,13 +22,6 @@
|
|||
|
||||
#include "SDL_QuartzVideo.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
|
||||
|
||||
@implementation NSOpenGLContext (CGLContextAccess)
|
||||
- (CGLContextObj) cglContext;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user