1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 07:24:12 +01:00

[d3d11] don't fail when creating unsupported queries

just keep going, and fail when trying to use them. this lets ManiaPlanet boot.
This commit is contained in:
Clément Guérin 2018-01-13 18:52:07 -08:00
parent 86db5aab67
commit 2844d4bad7

View File

@ -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)