Skip to content

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

@HakimHauston

Description

@HakimHauston

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions