diff --git a/src/dxgi/dxgi_output.cpp b/src/dxgi/dxgi_output.cpp index 2ad9ce60d..9c0087c20 100644 --- a/src/dxgi/dxgi_output.cpp +++ b/src/dxgi/dxgi_output.cpp @@ -333,9 +333,9 @@ namespace dxvk { HRESULT STDMETHODCALLTYPE DxgiOutput::WaitForVBlank() { - bool s_warningShown = false; + static bool s_errorShown = false; - if (!std::exchange(s_warningShown, true)) + if (!std::exchange(s_errorShown, true)) Logger::warn("DxgiOutput::WaitForVBlank: Stub"); return S_OK; }