mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-29 19:24:10 +01:00
[d3d11] Show SetPredication message only when the predicate is not NULL
Helps determine which games actually use the feature.
This commit is contained in:
parent
56e9bba279
commit
e0e945f724
@ -271,7 +271,7 @@ namespace dxvk {
|
||||
BOOL PredicateValue) {
|
||||
static bool s_errorShown = false;
|
||||
|
||||
if (!std::exchange(s_errorShown, true))
|
||||
if (pPredicate && !std::exchange(s_errorShown, true))
|
||||
Logger::err("D3D11DeviceContext::SetPredication: Stub");
|
||||
|
||||
m_state.pr.predicateObject = static_cast<D3D11Query*>(pPredicate);
|
||||
|
Loading…
Reference in New Issue
Block a user