mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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…
x
Reference in New Issue
Block a user