diff 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
line wrap: on
line diff
--- a/src/video/win32/SDL_win32video.h	Sun Aug 22 11:56:07 2010 -0700
+++ b/src/video/win32/SDL_win32video.h	Sun Aug 22 12:07:55 2010 -0700
@@ -32,7 +32,14 @@
 #define UNICODE
 #endif
 #undef WINVER
-#define WINVER  0x500           /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices() */
+//#define WINVER  0x500           /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices() */
+#define WINVER 0x601  /* Need 0x600 (_WIN32_WINNT_WIN7) for WM_Touch */
+#if (_WIN32_WINNT < 0x601)
+#undef _WIN32_WINNT
+#define _WIN32_WINNT 0x601
+#endif
+
+
 #include <windows.h>
 
 #if SDL_VIDEO_RENDER_D3D