Vulkan
Vulkan copied to clipboard
VkResult is VK_SUBOPTIMAL_KHR in Android causing SwapChain to be recreated every frame
swapChain.queuePresent
in VulkanExampleBase::submitFrame returns VK_SUBOPTIMAL_KHR in Android.
This causes windowResize() to be called every frame, re-creating the entire swapChain.
What is the cause of this error? And is there a way to prevent this?
Any input is highly appreciated...