diff options
Diffstat (limited to 'src/layer.cc')
| -rw-r--r-- | src/layer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layer.cc b/src/layer.cc index e9c863e..6c275ba 100644 --- a/src/layer.cc +++ b/src/layer.cc @@ -774,11 +774,11 @@ DestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator) { const auto context = layer_context.get_context(device); - context->vtable.DestroySwapchainKHR(device, swapchain, pAllocator); - if (context->was_capability_requested) { context->strategy->notify_destroy_swapchain(swapchain); } + + context->vtable.DestroySwapchainKHR(device, swapchain, pAllocator); } static VKAPI_ATTR void VKAPI_CALL |
