Enable D3D12 detection when using mingw-w64 with cmake too

c.f.: autotools commit 59fb7acbf7
This commit is contained in:
Ozkan Sezer 2022-06-19 11:04:24 +03:00
parent 48a232969d
commit bdcdbfc757
1 changed files with 1 additions and 1 deletions

View File

@ -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)