src/video/wincommon/SDL_syswm.c
changeset 439 3ac8344e3872
parent 438 f9c5f135a8b9
child 1152 51a8702d8ecd
--- a/src/video/wincommon/SDL_syswm.c	Sat Aug 17 17:49:27 2002 +0000
+++ b/src/video/wincommon/SDL_syswm.c	Sat Aug 17 18:03:06 2002 +0000
@@ -34,6 +34,7 @@
 #include "SDL_video.h"
 #include "SDL_syswm.h"
 #include "SDL_syswm_c.h"
+#include "SDL_wingl_c.h"
 #include "SDL_pixels_c.h"
 
 #ifdef _WIN32_WCE
@@ -270,7 +271,7 @@
 		if ( SDL_VERSIONNUM(info->version.major,
 		                    info->version.minor,
 		                    info->version.patch) >=
-		     SDL_VERSION(1, 2, 5) ) {
+		     SDL_VERSIONNUM(1, 2, 5) ) {
 #ifdef HAVE_OPENGL
 			info->hglrc = GL_hrc;
 #else