1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-13 19:29:14 +01:00

[dxgi] Silence WaitForVblank warning

This commit is contained in:
Philip Rebohle 2018-10-09 14:48:49 +02:00
parent 8fcdf78b51
commit 6dd5cdbc3e
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -333,7 +333,10 @@ namespace dxvk {
HRESULT STDMETHODCALLTYPE DxgiOutput::WaitForVBlank() {
Logger::warn("DxgiOutput::WaitForVBlank: Stub");
bool s_warningShown = false;
if (!std::exchange(s_warningShown, true))
Logger::warn("DxgiOutput::WaitForVBlank: Stub");
return S_OK;
}