aboutsummaryrefslogtreecommitdiff
path: root/src/device_context.hh
diff options
context:
space:
mode:
authorNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-03-31 13:17:09 +1100
committerNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-03-31 13:17:09 +1100
commitdf2933fd9c0ea2a99e89a6837123dfdf8b549d4a (patch)
tree42a5c73fc3735636efbe1eb7bf16adccd9aee664 /src/device_context.hh
parent89f4c0f59a90b1a4447d171bd09235126561af91 (diff)
Split monitoring strategy between Reflex and AL2
Diffstat (limited to 'src/device_context.hh')
-rw-r--r--src/device_context.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device_context.hh b/src/device_context.hh
index 53970e5..a46f479 100644
--- a/src/device_context.hh
+++ b/src/device_context.hh
@@ -35,7 +35,8 @@ class DeviceContext final : public Context {
std::unordered_map<VkQueue, std::shared_ptr<QueueContext>> queues;
- std::unordered_map<VkSwapchainKHR, SwapchainMonitor> swapchain_monitors;
+ std::unordered_map<VkSwapchainKHR, std::unique_ptr<SwapchainMonitor>>
+ swapchain_monitors;
public:
DeviceContext(InstanceContext& parent_instance,