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