diff src/SDL_compat.c @ 1913:83420da906a5

Implemented Windows OpenGL support Fixed slowdown enumerating display modes, which was hosing OpenGL as well... Removed SDL_ from the render driver prefixes
author Sam Lantinga <slouken@libsdl.org>
date Mon, 17 Jul 2006 06:47:33 +0000
parents 8d384b647307
children 69217fdd2c0a
line wrap: on
line diff
--- 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;
     }