From df2933fd9c0ea2a99e89a6837123dfdf8b549d4a Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Tue, 31 Mar 2026 13:17:09 +1100 Subject: Split monitoring strategy between Reflex and AL2 --- src/device_context.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/device_context.cc') diff --git a/src/device_context.cc b/src/device_context.cc index c9f1fd5..b52fec4 100644 --- a/src/device_context.cc +++ b/src/device_context.cc @@ -37,14 +37,14 @@ void DeviceContext::update_params( // swapchains), just write it to everything. if (!target.has_value()) { for (auto& iter : this->swapchain_monitors) { - iter.second.update_params(was_low_latency_requested, present_delay); + iter.second->update_params(was_low_latency_requested, present_delay); } return; } const auto iter = this->swapchain_monitors.find(*target); assert(iter != std::end(this->swapchain_monitors)); - iter->second.update_params(was_low_latency_requested, present_delay); + iter->second->update_params(was_low_latency_requested, present_delay); } void DeviceContext::notify_present( @@ -54,7 +54,7 @@ void DeviceContext::notify_present( const auto iter = this->swapchain_monitors.find(swapchain); assert(iter != std::end(this->swapchain_monitors)); - iter->second.notify_present(submissions); + iter->second->notify_present(submissions); } } // namespace low_latency \ No newline at end of file -- cgit v1.2.3