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:
parent
a980282ebe
commit
4a4b96611d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user