Closed thatcosmonaut closed 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.
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.