Commit ecb1eb823edef6f0bc2f9baee56d9ed0d0f516c7

David Ludwig 2017-02-24T19:59:57

WinRT: added code to help debug a buildbot error

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/render/direct3d11/SDL_render_d3d11.c b/src/render/direct3d11/SDL_render_d3d11.c
index e093ce5..c89dfca 100644
--- a/src/render/direct3d11/SDL_render_d3d11.c
+++ b/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