Closed ZOulhadj closed 1 year ago
A commit has been made which also resizes during the presentation stage. Will need to test to confirm if this has been fixed.
After some additional testing, most notably on the Lab desktop computers at University, the application no longer crashes and everything works as intended.
When resizing on other systems, Vulkan does not return
VK_SUBOPTIMAL_KHR
orVK_ERROR_OUT_OF_DATE_KHR
when callingvkAcquireNextImageKHR
. Instead, the errors return when callingvkQueuePresentKHR
. When this occurs, the swapchain is resized but I have purposely added an assert before resizing the framebuffers as I was not sure in what situation resizing would occur. Knowing this, I will need to do further research into why resizing occurs in two different places and then implement the framebuffer resizing.