comparison 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
comparison
equal deleted inserted replaced
452:4c5c10383201 453:a6fa62b1be09
25 "@(#) $Id$"; 25 "@(#) $Id$";
26 #endif 26 #endif
27 27
28 /* WGL implementation of SDL OpenGL support */ 28 /* WGL implementation of SDL OpenGL support */
29 29
30 #ifdef HAVE_OPENGL
30 #include "SDL_opengl.h" 31 #include "SDL_opengl.h"
32 #endif
31 #include "SDL_error.h" 33 #include "SDL_error.h"
32 #include "SDL_lowvideo.h" 34 #include "SDL_lowvideo.h"
33 #include "SDL_wingl_c.h" 35 #include "SDL_wingl_c.h"
34 36
35 #ifdef HAVE_OPENGL 37 #ifdef HAVE_OPENGL
262 void WIN_GL_SwapBuffers(_THIS) 264 void WIN_GL_SwapBuffers(_THIS)
263 { 265 {
264 SwapBuffers(GL_hdc); 266 SwapBuffers(GL_hdc);
265 } 267 }
266 268
267 #endif /* HAVE_OPENGL */
268
269 #ifdef HAVE_OPENGL
270
271 void WIN_GL_UnloadLibrary(_THIS) 269 void WIN_GL_UnloadLibrary(_THIS)
272 { 270 {
273 if ( this->gl_config.driver_loaded ) { 271 if ( this->gl_config.driver_loaded ) {
274 FreeLibrary((HMODULE)this->gl_config.dll_handle); 272 FreeLibrary((HMODULE)this->gl_config.dll_handle);
275 273