mirror of https://github.com/encounter/SDL.git
tweak _WIN32_WINNT value for shellscalingapi.h present but no d3d12
This commit is contained in:
parent
bdcdbfc757
commit
22a29321e9
|
@ -33,10 +33,12 @@
|
||||||
#undef WINVER
|
#undef WINVER
|
||||||
#define WINVER 0x0501
|
#define WINVER 0x0501
|
||||||
#undef _WIN32_WINNT
|
#undef _WIN32_WINNT
|
||||||
#if !defined(SDL_VIDEO_RENDER_D3D12)
|
#if defined(SDL_VIDEO_RENDER_D3D12)
|
||||||
#define _WIN32_WINNT 0x501 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices(), 0x501 for raw input */
|
|
||||||
#else
|
|
||||||
#define _WIN32_WINNT 0xA00 /* For D3D12, 0xA00 is required */
|
#define _WIN32_WINNT 0xA00 /* For D3D12, 0xA00 is required */
|
||||||
|
#elif defined(HAVE_SHELLSCALINGAPI_H)
|
||||||
|
#define _WIN32_WINNT 0x603 /* For DPI support */
|
||||||
|
#else
|
||||||
|
#define _WIN32_WINNT 0x501 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices(), 0x501 for raw input */
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue