|
@@ -36,7 +36,7 @@
|
|
#endif
|
|
#endif
|
|
#undef WINVER
|
|
#undef WINVER
|
|
#undef _WIN32_WINNT
|
|
#undef _WIN32_WINNT
|
|
-#if SDL_VIDEO_RENDER_D3D12 || defined(HAVE_DXGI1_6_H)
|
|
|
|
|
|
+#if defined(SDL_VIDEO_RENDER_D3D12) || defined(HAVE_DXGI1_6_H)
|
|
#define _WIN32_WINNT 0xA00 // For D3D12, 0xA00 is required
|
|
#define _WIN32_WINNT 0xA00 // For D3D12, 0xA00 is required
|
|
#elif defined(HAVE_SHELLSCALINGAPI_H)
|
|
#elif defined(HAVE_SHELLSCALINGAPI_H)
|
|
#define _WIN32_WINNT 0x603 // For DPI support
|
|
#define _WIN32_WINNT 0x603 // For DPI support
|