diff options
author | Philip Rebohle <philip.rebohle@tu-dortmund.de> | 2023-07-21 11:22:56 +0300 |
---|---|---|
committer | Philip Rebohle <philip.rebohle@tu-dortmund.de> | 2023-07-21 11:22:56 +0300 |
commit | eed43c8524ec0003e0ffe8fe8cf7e524f02867bc (patch) | |
tree | 53a4c48bc1a8a237306e5ff54d31116ce17463b4 | |
parent | d066fbbaedc308b508a9a6b7f0ee25524d906ba2 (diff) |
[dxgi] Fix QPC time in frame statistics
-rw-r--r-- | src/dxgi/dxgi_swapchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dxgi/dxgi_swapchain.cpp b/src/dxgi/dxgi_swapchain.cpp index 60ae6bf8..fee7cf7b 100644 --- a/src/dxgi/dxgi_swapchain.cpp +++ b/src/dxgi/dxgi_swapchain.cpp @@ -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))) { |