Browse Source

Enable D3D12 detection when using mingw-64

Sam Lantinga 3 years ago
parent
commit
59fb7acbf7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      configure
  2. 1 1
      configure.ac

+ 1 - 1
configure

@@ -27167,7 +27167,7 @@ printf %s "checking for d3d12 Windows SDK version... " >&6; }
 #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
 asdf
 asdf
 #endif
 #endif

+ 1 - 1
configure.ac

@@ -3273,7 +3273,7 @@ CheckDIRECTX()
 #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
 asdf
 asdf
 #endif
 #endif