mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 05:27:48 +00:00
Enable D3D12 detection when using mingw-w64 with cmake too
c.f.: autotools commit 59fb7acbf7
This commit is contained in:
@@ -1600,7 +1600,7 @@ elseif(WINDOWS)
|
|||||||
#include <winsdkver.h>
|
#include <winsdkver.h>
|
||||||
#include <sdkddkver.h>
|
#include <sdkddkver.h>
|
||||||
#include <d3d12.h>
|
#include <d3d12.h>
|
||||||
ID3D12Device5 *device;
|
ID3D12Device1 *device;
|
||||||
#if WDK_NTDDI_VERSION > 0x0A000008
|
#if WDK_NTDDI_VERSION > 0x0A000008
|
||||||
int main(int argc, char **argv) { return 0; }
|
int main(int argc, char **argv) { return 0; }
|
||||||
#endif" HAVE_D3D12_H)
|
#endif" HAVE_D3D12_H)
|
||||||
|
|||||||
Reference in New Issue
Block a user