From e5f3019524817e511eece3d487c5315d8beaa682 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Tue, 9 Oct 2018 19:17:20 +0200 Subject: [PATCH] [dxgi] *Actually* silence WaitForVBlank warning Guess who needs more coffee. --- src/dxgi/dxgi_output.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }