Navigation Menu

Skip to content

Commit

Permalink
WinRT: bug-fix, fullscreen mode wasn't getting reported in Windows 8.…
Browse files Browse the repository at this point in the history
…0 apps

This bug did not occur in Windows 8.1 apps, just Windows 8.0.
  • Loading branch information
DavidLudwig committed Nov 26, 2015
1 parent 36090f5 commit 7bd640d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/winrt/SDL_winrtvideo.cpp
Expand Up @@ -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

Expand Down

0 comments on commit 7bd640d

Please sign in to comment.