diff src/video/wincommon/SDL_syswm.c @ 1361:19418e4422cb

New configure-based build system. Still work in progress, but much improved
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Feb 2006 10:11:48 +0000
parents c71e05b4dc2e
children d910939febfa
line wrap: on
line diff
--- a/src/video/wincommon/SDL_syswm.c	Fri Feb 10 07:29:08 2006 +0000
+++ b/src/video/wincommon/SDL_syswm.c	Thu Feb 16 10:11:48 2006 +0000
@@ -24,21 +24,18 @@
 
 #include "SDL_version.h"
 #include "SDL_video.h"
+#include "SDL_loadso.h"
 #include "SDL_syswm.h"
+#include "../SDL_pixels_c.h"
+#include "../SDL_cursor_c.h"
 #include "SDL_syswm_c.h"
 #include "SDL_wingl_c.h"
-#include "SDL_pixels_c.h"
-#include "SDL_loadso.h"
 
 
 #ifdef _WIN32_WCE
 #define DISABLE_ICON_SUPPORT
 #endif
 
-/*	RJR: March 28, 2000
-	we need "SDL_cursor_c.h" for mods to WIN_GrabInput */
-#include "SDL_cursor_c.h"
-
 /* The screen icon -- needs to be freed on SDL_VideoQuit() */
 HICON   screen_icn = NULL;
 
@@ -307,7 +304,7 @@
 		                    info->version.minor,
 		                    info->version.patch) >=
 		     SDL_VERSIONNUM(1, 2, 5) ) {
-#ifdef HAVE_OPENGL
+#if SDL_VIDEO_OPENGL
 			info->hglrc = GL_hrc;
 #else
 			info->hglrc = NULL;