1
0
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:
Philip Rebohle 2021-05-20 23:06:11 +02:00 committed by Joshie
parent db3654a07f
commit 401edc53fe

View File

@ -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;