mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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