Răsfoiți Sursa

WinRT: build fix when using recent versions of the Windows 10 SDK

David Ludwig 8 ani în urmă
părinte
comite
78b83d3a6d
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/core/winrt/SDL_winrtapp_direct3d.cpp

+ 1 - 1
src/core/winrt/SDL_winrtapp_direct3d.cpp

@@ -827,7 +827,7 @@ static void WINRT_OnBackButtonPressed(BackButtonEventArgs ^ args)
     }
 }
 
-#if NTDDI_VERSION == NTDDI_WIN10
+#if NTDDI_VERSION >= NTDDI_WIN10
 void SDL_WinRTApp::OnBackButtonPressed(Platform::Object^ sender, Windows::UI::Core::BackRequestedEventArgs^ args)
 
 {