At https://github.com/KhronosGroup/Vulkan-Samples/blob/master/samples/apps/atw/atw_vulkan.c?ts=4#L4299 in the case of a false return code from #L4134 ,where current desktop size is still unset, results in these unset values later being used to recover the desktop size at #L4249 . Clearing windowFullscreen would prevent this, but perhaps it would be better to bail in that case.
At https://github.com/KhronosGroup/Vulkan-Samples/blob/master/samples/apps/atw/atw_vulkan.c?ts=4#L4299 in the case of a false return code from #L4134 ,where current desktop size is still unset, results in these unset values later being used to recover the desktop size at #L4249 .
Clearing windowFullscreen would prevent this, but perhaps it would be better to bail in that case.