Minimizing the window currently panics on Windows because vkGetPhysicalDeviceSurfaceCapabilitiesKHR returns a width and height of zero which then causes vkCreateSwapchainKHR to fail with -1 (VK_ERROR_OUT_OF_HOST_MEMORY).
This really needs to be solved via #1446 (e.g. sokol_gfx.h needs to be able to deal with 'invalid' swapchain render passes by skipping all pass operations).
Minimizing the window currently panics on Windows because
vkGetPhysicalDeviceSurfaceCapabilitiesKHRreturns a width and height of zero which then causesvkCreateSwapchainKHRto fail with -1 (VK_ERROR_OUT_OF_HOST_MEMORY).This really needs to be solved via #1446 (e.g. sokol_gfx.h needs to be able to deal with 'invalid' swapchain render passes by skipping all pass operations).