vkAcquireNextImageKHR results in VkSuboptimalKhr
I cannot render anything on screen because vkAcquireNextImageKHR keeps raising the exception VkSuboptimalKhr. I've read online that when this happens I can "ignore" it and continue on with the drawing of the frame. However, later on when submitting the image-index returned by vkAcquireNextImageKHR is None because it raised an expection.
pCommandBuffers=[self._command_buffers[image_index], ],
What can I do about this and why do I keep getting this error?
Hello @Qlii256, Indeed if an exception is raised you can't get the image index (like you can see here: https://github.com/realitix/vulkan/blob/master/vulkan/_vulkan.py#L7170 ) Maybe adding a parameter to the function to bypass the exception raising.. Else you should fix this exception.