diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-04-04 14:45:41 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-04-04 14:45:41 +1100 |
| commit | 6b4dd1fb3d5fffd0c43fc40352720e0266651c38 (patch) | |
| tree | 80b2765ff5743aa0bd074d8f19fcfecbbd607b29 /src/swapchain_monitor.hh | |
| parent | 2d2f193797a598c807a7d9eb43d9b60a35216ca8 (diff) | |
Fix erroneous microsecond conversion to milliseconds
Diffstat (limited to 'src/swapchain_monitor.hh')
| -rw-r--r-- | src/swapchain_monitor.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/swapchain_monitor.hh b/src/swapchain_monitor.hh index 9192f55..643b123 100644 --- a/src/swapchain_monitor.hh +++ b/src/swapchain_monitor.hh @@ -31,7 +31,7 @@ class SwapchainMonitor { std::mutex mutex; // Configurarable params for this swapchain. - std::chrono::milliseconds present_delay = std::chrono::milliseconds{0}; + std::chrono::microseconds present_delay = std::chrono::microseconds{0}; bool was_low_latency_requested = false; std::deque<std::unique_ptr<QueueContext::Submissions>> @@ -53,7 +53,7 @@ class SwapchainMonitor { public: void update_params(const bool was_low_latency_requested, - const std::chrono::milliseconds present_delay); + const std::chrono::microseconds present_delay); public: virtual void |
