From bdcdbfc7575cd26136165a16069932bb6f80415f Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 19 Jun 2022 11:04:24 +0300 Subject: [PATCH] Enable D3D12 detection when using mingw-w64 with cmake too c.f.: autotools commit 59fb7acbf7af9d64a2d5432bb6677585a0ddd50a --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e56a5f5f4..d9e25577e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1600,7 +1600,7 @@ elseif(WINDOWS) #include #include #include - ID3D12Device5 *device; + ID3D12Device1 *device; #if WDK_NTDDI_VERSION > 0x0A000008 int main(int argc, char **argv) { return 0; } #endif" HAVE_D3D12_H)