mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-29 17:52:18 +01:00
[dxgi] Show warning in DxgiOutput::GetFrameStatistics
This commit is contained in:
parent
db3654a07f
commit
401edc53fe
@ -373,7 +373,12 @@ namespace dxvk {
|
||||
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
|
||||
static bool s_errorShown = false;
|
||||
|
||||
if (!std::exchange(s_errorShown, true))
|
||||
Logger::warn("DxgiOutput::GetFrameStatistics: Stub");
|
||||
|
||||
*pStats = monitorInfo->FrameStats;
|
||||
m_monitorInfo->ReleaseMonitorData();
|
||||
return S_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user