diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 01bbe64ab5..77ae99d309 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -4522,7 +4522,7 @@ namespace dxvk { uint32_t pending = m_dxvkDevice->pendingSubmissions(); if (StrongHint || pending <= MaxPendingSubmits) { - auto now = std::chrono::high_resolution_clock::now(); + auto now = dxvk::high_resolution_clock::now(); uint32_t delay = MinFlushIntervalUs + IncFlushIntervalUs * pending; @@ -4828,7 +4828,7 @@ namespace dxvk { FlushCsChunk(); // Reset flush timer used for implicit flushes - m_lastFlush = std::chrono::high_resolution_clock::now(); + m_lastFlush = dxvk::high_resolution_clock::now(); m_csIsBusy = false; } } diff --git a/src/d3d9/d3d9_device.h b/src/d3d9/d3d9_device.h index 20cc9ada2b..329aa345fe 100644 --- a/src/d3d9/d3d9_device.h +++ b/src/d3d9/d3d9_device.h @@ -863,8 +863,8 @@ namespace dxvk { Rc m_updateBuffer; DxvkCsChunkPool m_csChunkPool; - std::chrono::high_resolution_clock::time_point m_lastFlush - = std::chrono::high_resolution_clock::now(); + dxvk::high_resolution_clock::time_point m_lastFlush + = dxvk::high_resolution_clock::now(); DxvkCsThread m_csThread; bool m_csIsBusy = false; diff --git a/src/d3d9/d3d9_swapchain.cpp b/src/d3d9/d3d9_swapchain.cpp index b7e7ad0cc3..af05e58a76 100644 --- a/src/d3d9/d3d9_swapchain.cpp +++ b/src/d3d9/d3d9_swapchain.cpp @@ -181,7 +181,7 @@ namespace dxvk { uint32_t scanLineCount = mode.Height + vBlankLineCount; auto nowUs = std::chrono::time_point_cast( - std::chrono::high_resolution_clock::now()) + dxvk::high_resolution_clock::now()) .time_since_epoch(); auto frametimeUs = std::chrono::microseconds(1000000u / mode.RefreshRate);