diff src/video/wincommon/SDL_wingl.c @ 453:a6fa62b1be09

Updated for embedded Visual C++ 4.0
author Sam Lantinga <slouken@libsdl.org>
date Tue, 20 Aug 2002 00:20:06 +0000
parents 8a43e0cbf02f
children 9c42ee1b7d77
line wrap: on
line diff
--- a/src/video/wincommon/SDL_wingl.c	Mon Aug 19 18:33:29 2002 +0000
+++ b/src/video/wincommon/SDL_wingl.c	Tue Aug 20 00:20:06 2002 +0000
@@ -27,7 +27,9 @@
 
 /* WGL implementation of SDL OpenGL support */
 
+#ifdef HAVE_OPENGL
 #include "SDL_opengl.h"
+#endif
 #include "SDL_error.h"
 #include "SDL_lowvideo.h"
 #include "SDL_wingl_c.h"
@@ -264,10 +266,6 @@
 	SwapBuffers(GL_hdc);
 }
 
-#endif /* HAVE_OPENGL */
-
-#ifdef HAVE_OPENGL
-
 void WIN_GL_UnloadLibrary(_THIS)
 {
 	if ( this->gl_config.driver_loaded ) {