diff options
Diffstat (limited to 'src/swapchain_monitor.cc')
| -rw-r--r-- | src/swapchain_monitor.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/swapchain_monitor.cc b/src/swapchain_monitor.cc index fec0f93..492e83e 100644 --- a/src/swapchain_monitor.cc +++ b/src/swapchain_monitor.cc @@ -2,6 +2,7 @@ #include "device_context.hh" #include "helper.hh" +#include <chrono> #include <vulkan/vulkan_core.h> #include <functional> @@ -17,7 +18,7 @@ SwapchainMonitor::~SwapchainMonitor() {} void SwapchainMonitor::update_params( const bool was_low_latency_requested, - const std::chrono::milliseconds present_delay) { + const std::chrono::microseconds present_delay) { const auto lock = std::scoped_lock{this->mutex}; |
