Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
*** empty log message ***
  • Loading branch information
slouken committed Jan 4, 2004
1 parent 775531c commit b711155
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/video/quartz/SDL_QuartzGL.m
Expand Up @@ -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;
Expand Down
9 changes: 9 additions & 0 deletions src/video/quartz/SDL_QuartzVideo.h
Expand Up @@ -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 {

Expand Down

0 comments on commit b711155

Please sign in to comment.