FNA-XNA / FNA3D

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

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

Closed thatcosmonaut closed 2 years ago

thatcosmonaut commented 2 years 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.