comparison 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
comparison
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
22 22
23 #include "SDL_windows.h" 23 #include "SDL_windows.h"
24 24
25 #include "SDL_version.h" 25 #include "SDL_version.h"
26 #include "SDL_video.h" 26 #include "SDL_video.h"
27 #include "SDL_loadso.h"
27 #include "SDL_syswm.h" 28 #include "SDL_syswm.h"
29 #include "../SDL_pixels_c.h"
30 #include "../SDL_cursor_c.h"
28 #include "SDL_syswm_c.h" 31 #include "SDL_syswm_c.h"
29 #include "SDL_wingl_c.h" 32 #include "SDL_wingl_c.h"
30 #include "SDL_pixels_c.h"
31 #include "SDL_loadso.h"
32 33
33 34
34 #ifdef _WIN32_WCE 35 #ifdef _WIN32_WCE
35 #define DISABLE_ICON_SUPPORT 36 #define DISABLE_ICON_SUPPORT
36 #endif 37 #endif
37
38 /* RJR: March 28, 2000
39 we need "SDL_cursor_c.h" for mods to WIN_GrabInput */
40 #include "SDL_cursor_c.h"
41 38
42 /* The screen icon -- needs to be freed on SDL_VideoQuit() */ 39 /* The screen icon -- needs to be freed on SDL_VideoQuit() */
43 HICON screen_icn = NULL; 40 HICON screen_icn = NULL;
44 41
45 #ifdef _WIN32_WCE 42 #ifdef _WIN32_WCE
305 info->window = SDL_Window; 302 info->window = SDL_Window;
306 if ( SDL_VERSIONNUM(info->version.major, 303 if ( SDL_VERSIONNUM(info->version.major,
307 info->version.minor, 304 info->version.minor,
308 info->version.patch) >= 305 info->version.patch) >=
309 SDL_VERSIONNUM(1, 2, 5) ) { 306 SDL_VERSIONNUM(1, 2, 5) ) {
310 #ifdef HAVE_OPENGL 307 #if SDL_VIDEO_OPENGL
311 info->hglrc = GL_hrc; 308 info->hglrc = GL_hrc;
312 #else 309 #else
313 info->hglrc = NULL; 310 info->hglrc = NULL;
314 #endif 311 #endif
315 } 312 }