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:
parent
d066fbbaed
commit
eed43c8524
@ -202,7 +202,7 @@ namespace dxvk {
|
|||||||
pStats->PresentCount = frameStatistics.PresentCount;
|
pStats->PresentCount = frameStatistics.PresentCount;
|
||||||
pStats->PresentRefreshCount = 0;
|
pStats->PresentRefreshCount = 0;
|
||||||
pStats->SyncRefreshCount = 0;
|
pStats->SyncRefreshCount = 0;
|
||||||
pStats->SyncQPCTime.QuadPart = t1Counter;
|
pStats->SyncQPCTime.QuadPart = frameStatistics.PresentQPCTime;
|
||||||
pStats->SyncGPUTime.QuadPart = 0;
|
pStats->SyncGPUTime.QuadPart = 0;
|
||||||
|
|
||||||
if (SUCCEEDED(AcquireMonitorData(m_monitor, &monitorData))) {
|
if (SUCCEEDED(AcquireMonitorData(m_monitor, &monitorData))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user