aboutsummaryrefslogtreecommitdiff
path: root/src/device_context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/device_context.cc')
-rw-r--r--src/device_context.cc6
1 files changed, 3 insertions, 3 deletions
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