diff --git a/src/d3d11/d3d11_context.cpp b/src/d3d11/d3d11_context.cpp index 32a1b024..b691e204 100644 --- a/src/d3d11/d3d11_context.cpp +++ b/src/d3d11/d3d11_context.cpp @@ -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(pPredicate);