FNA-XNA / FNA3D

FNA3D - 3D Graphics Library for FNA
http://fna-xna.github.io/
Other
267 stars 44 forks source link

Vulkan: Fix swapchain extent check when size is zero #158

Closed thatcosmonaut closed 1 year ago

thatcosmonaut commented 1 year ago

Fixes an inconsistency that emerged in SDL 2.24 because the surface drawable size now returns 0 if the window is minimized. We actually don't even need to ask SDL for the drawable dimensions, we can just check if the supported swapchain extent is 0.