Pārlūkot izejas kodu

WinRT: added code to help debug a buildbot error

David Ludwig 8 gadi atpakaļ
vecāks
revīzija
ecb1eb823e
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      src/render/direct3d11/SDL_render_d3d11.c

+ 5 - 0
src/render/direct3d11/SDL_render_d3d11.c

@@ -36,6 +36,11 @@
 
 #ifdef __WINRT__
 
+#define STRING2(x) #x  
+#define STRING(x) STRING2(x)  
+#pragma message("NTDDI_VERSION is " STRING(NTDDI_VERSION))
+#pragma message("NTDDI_WIN8 is " STRING(NTDDI_WIN8))
+
 #if NTDDI_VERSION > NTDDI_WIN8
 #include <DXGI1_3.h>
 #endif