Skip to content

Commit

Permalink
WinRT: added code to help debug a buildbot error
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Feb 25, 2017
1 parent 0e7530b commit ecb1eb8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/render/direct3d11/SDL_render_d3d11.c
Expand Up @@ -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
Expand Down

0 comments on commit ecb1eb8

Please sign in to comment.