mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +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:
parent
86db5aab67
commit
2844d4bad7
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue