comparison src/video/win32/SDL_win32video.h @ 4694:c24ba2cc9583

Merged Jim's Google Summer of Code work from SDL-gsoc2010_gesture
author Sam Lantinga <slouken@libsdl.org>
date Sun, 22 Aug 2010 12:07:55 -0700
parents e1664f94f026 03dcb795c583
children 518d1679d2d0
comparison
equal deleted inserted replaced
4638:08d22c54a21f 4694:c24ba2cc9583
30 #define STRICT 30 #define STRICT
31 #ifndef UNICODE 31 #ifndef UNICODE
32 #define UNICODE 32 #define UNICODE
33 #endif 33 #endif
34 #undef WINVER 34 #undef WINVER
35 #define WINVER 0x500 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices() */ 35 //#define WINVER 0x500 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices() */
36 #define WINVER 0x601 /* Need 0x600 (_WIN32_WINNT_WIN7) for WM_Touch */
37 #if (_WIN32_WINNT < 0x601)
38 #undef _WIN32_WINNT
39 #define _WIN32_WINNT 0x601
40 #endif
41
42
36 #include <windows.h> 43 #include <windows.h>
37 44
38 #if SDL_VIDEO_RENDER_D3D 45 #if SDL_VIDEO_RENDER_D3D
39 //#include <d3d9.h> 46 //#include <d3d9.h>
40 #define D3D_DEBUG_INFO 47 #define D3D_DEBUG_INFO