From 2844d4bad7587448ead4ff98e99b67c3a2c61b55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Gu=C3=A9rin?= Date: Sat, 13 Jan 2018 18:52:07 -0800 Subject: [PATCH] [d3d11] don't fail when creating unsupported queries just keep going, and fail when trying to use them. this lets ManiaPlanet boot. --- src/d3d11/d3d11_device.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/d3d11/d3d11_device.cpp b/src/d3d11/d3d11_device.cpp index f1a36d6d..2a1bc686 100644 --- a/src/d3d11/d3d11_device.cpp +++ b/src/d3d11/d3d11_device.cpp @@ -1066,8 +1066,7 @@ namespace dxvk { // Other query types are currently unsupported if (pQueryDesc->Query != D3D11_QUERY_OCCLUSION && pQueryDesc->Query != D3D11_QUERY_OCCLUSION_PREDICATE) { - Logger::err(str::format("D3D11Device: Unsupported query type: ", pQueryDesc->Query)); - return E_INVALIDARG; + Logger::warn(str::format("D3D11Device: Unsupported query type: ", pQueryDesc->Query)); } if (ppQuery == nullptr)