Minimized windows have the resolution of 0,0. The surface supports swapchains with this resolution, however it doesn't work and leads to crashes and UBs. This PR fixes this to use a minimum resolution of 1,1. Pull Request: https://projects.blender.org/blender/blender/pulls/138750