Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
sync with trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon Wilczek committed Jun 6, 2008
1 parent 91b0eab commit 68f032f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/video/SDL_sysvideo.h
Expand Up @@ -127,7 +127,6 @@ struct SDL_Window

int display;
SDL_Renderer *renderer;
SDL_GLContext context;

void *userdata;
void *driverdata;
Expand Down
6 changes: 0 additions & 6 deletions src/video/SDL_video.c
Expand Up @@ -2525,12 +2525,6 @@ SDL_GL_MakeCurrent(SDL_WindowID windowID, SDL_GLContext context)
if (!context) {
window = NULL;
}
if (window) {
if (window->context == context) {
return 0;
}
window->context = context;
}
return _this->GL_MakeCurrent(_this, window, context);
}

Expand Down
4 changes: 2 additions & 2 deletions src/video/cocoa/SDL_cocoaopengl.m
Expand Up @@ -288,7 +288,7 @@ - (CGLContextObj)CGLContextObj;
{
NSAutoreleasePool *pool;
NSOpenGLContext *nscontext;
long value;
GLint value;
int status;

pool = [[NSAutoreleasePool alloc] init];
Expand All @@ -312,7 +312,7 @@ - (CGLContextObj)CGLContextObj;
{
NSAutoreleasePool *pool;
NSOpenGLContext *nscontext;
long value;
GLint value;
int status;

pool = [[NSAutoreleasePool alloc] init];
Expand Down

0 comments on commit 68f032f

Please sign in to comment.