1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-11 19:24:11 +01:00

[dxgi] Fix QPC time in frame statistics

This commit is contained in:
Philip Rebohle 2023-07-21 10:22:56 +02:00
parent d066fbbaed
commit eed43c8524

View File

@ -202,7 +202,7 @@ namespace dxvk {
pStats->PresentCount = frameStatistics.PresentCount;
pStats->PresentRefreshCount = 0;
pStats->SyncRefreshCount = 0;
pStats->SyncQPCTime.QuadPart = t1Counter;
pStats->SyncQPCTime.QuadPart = frameStatistics.PresentQPCTime;
pStats->SyncGPUTime.QuadPart = 0;
if (SUCCEEDED(AcquireMonitorData(m_monitor, &monitorData))) {