Skip to content
Permalink
Browse files

*** empty log message ***

  • Loading branch information
slouken committed Jan 4, 2004
1 parent 775531c commit b7111557a977e5ed3b3383f0db3f8c3f56ee40ec
Showing with 9 additions and 7 deletions.
  1. +0 −7 src/video/quartz/SDL_QuartzGL.m
  2. +9 −0 src/video/quartz/SDL_QuartzVideo.h
@@ -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 {

0 comments on commit b711155

Please sign in to comment.