Skip to content

Commit

Permalink
WinRT: fixed a build error when compiling Windows 8.1 .dlls
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Dec 6, 2015
1 parent c8e3bfb commit 898054a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/winrt/SDL_winrtvideo.cpp
Expand Up @@ -330,7 +330,7 @@ WINRT_AddDisplaysForAdapter (_THIS, IDXGIFactory2 * dxgiFactory2, int adapterInd
happens, and use a hackish means to create a reasonable-as-possible
'display mode'. -- DavidL
*/
#if SDL_WINRT_USE_APPLICATIONVIEW
#if (NTDDI_VERSION >= NTDDI_WIN10) && SDL_WINRT_USE_APPLICATIONVIEW
if (adapterIndex == 0 && outputIndex == 0) {
SDL_VideoDisplay display;
SDL_DisplayMode mode;
Expand Down Expand Up @@ -358,7 +358,7 @@ WINRT_AddDisplaysForAdapter (_THIS, IDXGIFactory2 * dxgiFactory2, int adapterInd
return SDL_SetError("Failed to apply DXGI Display-detection workaround");
}
}
#endif // SDL_WINRT_USE_APPLICATIONVIEW
#endif // (NTDDI_VERSION >= NTDDI_WIN10) && SDL_WINRT_USE_APPLICATIONVIEW

break;
}
Expand Down

0 comments on commit 898054a

Please sign in to comment.