changeset 3759:064c178558b7 gsoc2008_manymouse

sync with trunk
author Szymon Wilczek <kazeuser@gmail.com>
date Fri, 06 Jun 2008 14:50:56 +0000
parents 5f3ea4cd5adb
children 64f346a83ed3
files src/video/SDL_sysvideo.h src/video/SDL_video.c src/video/cocoa/SDL_cocoaopengl.m
diffstat 3 files changed, 2 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h	Sat May 17 10:09:11 2008 +0000
+++ b/src/video/SDL_sysvideo.h	Fri Jun 06 14:50:56 2008 +0000
@@ -127,7 +127,6 @@
 
     int display;
     SDL_Renderer *renderer;
-    SDL_GLContext context;
 
     void *userdata;
     void *driverdata;
--- a/src/video/SDL_video.c	Sat May 17 10:09:11 2008 +0000
+++ b/src/video/SDL_video.c	Fri Jun 06 14:50:56 2008 +0000
@@ -2525,12 +2525,6 @@
     if (!context) {
         window = NULL;
     }
-    if (window) {
-        if (window->context == context) {
-            return 0;
-        }
-        window->context = context;
-    }
     return _this->GL_MakeCurrent(_this, window, context);
 }
 
--- a/src/video/cocoa/SDL_cocoaopengl.m	Sat May 17 10:09:11 2008 +0000
+++ b/src/video/cocoa/SDL_cocoaopengl.m	Fri Jun 06 14:50:56 2008 +0000
@@ -288,7 +288,7 @@
 {
     NSAutoreleasePool *pool;
     NSOpenGLContext *nscontext;
-    long value;
+    GLint value;
     int status;
 
     pool = [[NSAutoreleasePool alloc] init];
@@ -312,7 +312,7 @@
 {
     NSAutoreleasePool *pool;
     NSOpenGLContext *nscontext;
-    long value;
+    GLint value;
     int status;
 
     pool = [[NSAutoreleasePool alloc] init];