src/video/winrt/SDL_winrtpointerinput.cpp
changeset 8747 b4a56c2ca0f0
parent 8615 097646deaef2
child 8756 d35c6e6ccbb4
--- a/src/video/winrt/SDL_winrtpointerinput.cpp	Tue Apr 29 19:22:48 2014 -0400
+++ b/src/video/winrt/SDL_winrtpointerinput.cpp	Wed Apr 30 21:07:30 2014 -0400
@@ -83,7 +83,7 @@
     // Compute coordinates normalized from 0..1.
     // If the coordinates need to be sized to the SDL window,
     // we'll do that after.
-#if WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP
+#if (WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP) || (NTDDI_VERSION >= NTDDI_WINBLUE)
     outputPosition.X = rawPosition.X / nativeWindow->Bounds.Width;
     outputPosition.Y = rawPosition.Y / nativeWindow->Bounds.Height;
 #else