1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-29 19:24:10 +01:00

[d3d9] Only log WaitForVBlank stub once

This commit is contained in:
Joshua Ashton 2021-04-30 19:33:24 +01:00
parent a980282ebe
commit 4a4b96611d
No known key found for this signature in database
GPG Key ID: C85A08669126BE8D

View File

@ -655,7 +655,11 @@ namespace dxvk {
HRESULT D3D9SwapChainEx::WaitForVBlank() {
Logger::warn("D3D9SwapChainEx::WaitForVBlank: Stub");
static bool s_errorShown = false;
if (!std::exchange(s_errorShown, true))
Logger::warn("D3D9SwapChainEx::WaitForVBlank: Stub");
return D3D_OK;
}