aboutsummaryrefslogtreecommitdiff
path: root/src/device_context.hh
diff options
context:
space:
mode:
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,