Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Rebohle <philip.rebohle@tu-dortmund.de>2023-07-21 11:22:56 +0300
committerPhilip Rebohle <philip.rebohle@tu-dortmund.de>2023-07-21 11:22:56 +0300
commiteed43c8524ec0003e0ffe8fe8cf7e524f02867bc (patch)
tree53a4c48bc1a8a237306e5ff54d31116ce17463b4
parentd066fbbaedc308b508a9a6b7f0ee25524d906ba2 (diff)
[dxgi] Fix QPC time in frame statistics
-rw-r--r--src/dxgi/dxgi_swapchain.cpp2
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))) {