From afc6aa70fbe3470248e4b68f9c4aee2cc8e8ca42 Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Sat, 27 Jan 2024 12:39:54 +0900 Subject: [PATCH] [d3d11] Explicitly convert DxvkExt to bool in D3D11DeviceFeatures When assigning to a BOOL (which is an uint in disguise) and using explicit bool conversion operators (introduced in a latter commit) an explicit cast is required. --- src/d3d11/d3d11_features.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d3d11/d3d11_features.cpp b/src/d3d11/d3d11_features.cpp index f206e517..bbaf697f 100644 --- a/src/d3d11/d3d11_features.cpp +++ b/src/d3d11/d3d11_features.cpp @@ -107,7 +107,7 @@ namespace dxvk { m_gpuVirtualAddress.MaxGPUVirtualAddressBitsPerProcess = 40; // Marker support only depends on the debug utils extension - m_marker.Profile = Instance->extensions().extDebugUtils; + m_marker.Profile = static_cast(Instance->extensions().extDebugUtils); // DXVK will keep all shaders in memory once created, and all Vulkan // drivers that we know of that can run DXVK have an on-disk cache.