Vulkan-Tutorial
Vulkan-Tutorial copied to clipboard
Possibly wrong code snippet
From those quotes I understood that if
capabilities.currentExtent.width == std::numeric_limits<uint32_t>::max()
then, Vulkan already did set up the correct extent, right?
So, if my understanding was correct, the comparison should be ==, not != thus avoiding the call to glfwGetFramebufferSize()
https://github.com/KhronosGroup/Vulkan-Tutorial/blob/c6df655c9fe3b65595c3e60676922f35f00c3e8f/en/03_Drawing_a_triangle/01_Presentation/01_Swap_chain.adoc?plain=1#L324