src/SDL_compat.c
changeset 1913 83420da906a5
parent 1912 8d384b647307
child 1924 69217fdd2c0a
--- a/src/SDL_compat.c	Sun Jul 16 09:34:01 2006 +0000
+++ b/src/SDL_compat.c	Mon Jul 17 06:47:33 2006 +0000
@@ -337,7 +337,7 @@
         SDL_VideoSurface = NULL;
     }
     if (SDL_VideoContext) {
-        SDL_GL_MakeCurrent(0, SDL_VideoContext);
+        SDL_GL_MakeCurrent(0, NULL);
         SDL_GL_DeleteContext(SDL_VideoContext);
         SDL_VideoContext = NULL;
     }