Commit 90216164 authored by Niklas Haas's avatar Niklas Haas

vulkan: fix overzealous swapchain destruction

If vkCreateSwapchain itself fails, this can delete the old (in-use)
swapchain. In this case, there's really no need to do anything. Just
return false.
parent b280d9cc
Pipeline #10768 passed with stages
in 2 minutes and 25 seconds