Vulkan icon indicating copy to clipboard operation
Vulkan copied to clipboard

VkResult is VK_SUBOPTIMAL_KHR in Android causing SwapChain to be recreated every frame

Open HakimHauston opened this issue 5 months ago • 4 comments

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...

HakimHauston avatar Sep 18 '24 09:09 HakimHauston