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