src/video/winrt/SDL_winrtpointerinput.cpp
changeset 8757 aeeeb47a5a77
parent 8756 d35c6e6ccbb4
child 9220 1cb6ac648db7
--- a/src/video/winrt/SDL_winrtpointerinput.cpp	Fri May 09 20:32:06 2014 -0400
+++ b/src/video/winrt/SDL_winrtpointerinput.cpp	Fri May 09 21:28:52 2014 -0400
@@ -87,7 +87,7 @@
     outputPosition.X = rawPosition.X / nativeWindow->Bounds.Width;
     outputPosition.Y = rawPosition.Y / nativeWindow->Bounds.Height;
 #else
-    switch (DisplayProperties::CurrentOrientation)
+    switch (WINRT_DISPLAY_PROPERTY(CurrentOrientation))
     {
         case DisplayOrientations::Portrait:
             outputPosition.X = rawPosition.X / nativeWindow->Bounds.Width;