diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-03-30 22:47:12 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-03-30 22:47:12 +1100 |
| commit | 108801fe96d855c5ccf532639a6db8ff0065310e (patch) | |
| tree | 24f551fbffad9ec4fd842f56dd530d65a1150723 /src/swapchain_monitor.cc | |
| parent | 7b17b60786d00c592f0ef18c8481148143baacbd (diff) | |
Move timestamp pool reacquisition to an asynchronous worker queue, fix device_context race during destructor
Diffstat (limited to 'src/swapchain_monitor.cc')
| -rw-r--r-- | src/swapchain_monitor.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/swapchain_monitor.cc b/src/swapchain_monitor.cc index adeb315..bcf89e1 100644 --- a/src/swapchain_monitor.cc +++ b/src/swapchain_monitor.cc @@ -95,6 +95,10 @@ void SwapchainMonitor::notify_present( const auto lock = std::scoped_lock{this->mutex}; + if (!this->was_low_latency_requested) { + return; + } + // Fast path where this work has already completed. if (!this->wakeup_semaphores.empty() && !submissions->empty()) { |
