mirror of https://github.com/encounter/SDL.git
direct3d11: fix SDK version requirement for non-CMake build
The D3D11 renderer requires Direct3D 11.1 (d3d11_1.h), not Direct3D 11.0 (d3d11.h). In terms of SDKs, that's the Windows 8 SDK or later. We should probably rename HAVE_D3D11_H...
This commit is contained in:
parent
802e17aad9
commit
d8b53e821e
|
@ -91,7 +91,7 @@ typedef unsigned int uintptr_t;
|
|||
#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0A00 /* Windows 10 SDK */
|
||||
#define HAVE_WINDOWS_GAMING_INPUT_H 1
|
||||
#endif
|
||||
#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0601 /* Windows 7 SDK */
|
||||
#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0602 /* Windows 8 SDK */
|
||||
#define HAVE_D3D11_H 1
|
||||
#endif
|
||||
#define HAVE_MMDEVICEAPI_H 1
|
||||
|
|
Loading…
Reference in New Issue