diff src/video/SDL_video.c @ 2540:56cf872c723a gsoc2008_force_feedback

Synced with trunk.
author Edgar Simo <bobbens@gmail.com>
date Sun, 20 Jul 2008 21:34:04 +0000
parents 91e601d9df8b
children 204be4fc2726
line wrap: on
line diff
--- a/src/video/SDL_video.c	Sun Jul 20 16:21:15 2008 +0000
+++ b/src/video/SDL_video.c	Sun Jul 20 21:34:04 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);
 }