Commit 59fb7acbf7af9d64a2d5432bb6677585a0ddd50a

Sam Lantinga 2022-06-16T15:46:53

Enable D3D12 detection when using mingw-64

diff --git a/configure b/configure
index 734cee0..b6f9b70 100755
--- a/configure
+++ b/configure
@@ -27167,7 +27167,7 @@ printf %s "checking for d3d12 Windows SDK version... " >&6; }
 #include <winsdkver.h>
 #include <sdkddkver.h>
 #include <d3d12.h>
-ID3D12Device5 *device;
+ID3D12Device1 *device;
 #if WDK_NTDDI_VERSION <= 0x0A000008
 asdf
 #endif
diff --git a/configure.ac b/configure.ac
index 00e1462..ee8a41e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3273,7 +3273,7 @@ CheckDIRECTX()
 #include <winsdkver.h>
 #include <sdkddkver.h>
 #include <d3d12.h>
-ID3D12Device5 *device;
+ID3D12Device1 *device;
 #if WDK_NTDDI_VERSION <= 0x0A000008
 asdf
 #endif