Browse Source

WinRT: bug-fix, fullscreen mode wasn't getting reported in Windows 8.0 apps

This bug did not occur in Windows 8.1 apps, just Windows 8.0.
David Ludwig 10 năm trước cách đây
mục cha
commit
7bd640d5da
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/video/winrt/SDL_winrtvideo.cpp

+ 1 - 1
src/video/winrt/SDL_winrtvideo.cpp

@@ -377,7 +377,7 @@ WINRT_DetectWindowFlags(SDL_Window * window)
     if (data->appView) {
         is_fullscreen = data->appView->IsFullScreen;
     }
-#elif (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)
+#elif (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP) || (NTDDI_VERSION == NTDDI_WIN8)
     is_fullscreen = true;
 #endif