diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-04-11 11:23:12 +1000 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-04-11 12:10:06 +1000 |
| commit | 973532a7d28c2afbaaf0fe79efa9a5084d14e3aa (patch) | |
| tree | 77dc466edc18d2b3a4f960ad45382915fbfc2fd8 /src/layer.cc | |
| parent | 79ecffd2ebfa5e5efd0c8496a6ae90aa31964596 (diff) | |
Don't discard signal semaphore on missing swapchain monitor without signalling it first
Diffstat (limited to 'src/layer.cc')
| -rw-r--r-- | src/layer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layer.cc b/src/layer.cc index e94fe54..54ad8d7 100644 --- a/src/layer.cc +++ b/src/layer.cc @@ -275,7 +275,7 @@ DestroyDevice(VkDevice device, const VkAllocationCallbacks* allocator) { const auto key = layer_context.get_key(device); const auto iter = layer_context.contexts.find(key); assert(iter != std::end(layer_context.contexts)); - auto context = dynamic_pointer_cast<DeviceContext>(iter->second); + auto context = std::dynamic_pointer_cast<DeviceContext>(iter->second); // Remove all owned queues from our global context pool. for (const auto& [queue, _] : context->queues) { |
