Android: do not set suboptimal on android (#394)

This commit is contained in:
NullVector 2026-10-10 00:35:33 +10:30 committed by GitHub
parent ddbeaf3301
commit 25e78bd225
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -188,7 +188,9 @@ void Swapchain::Present(VkSemaphore render_semaphore) {
break;
case VK_SUBOPTIMAL_KHR:
LOG_DEBUG(Render_Vulkan, "Suboptimal swapchain");
#ifndef ANDROID
is_suboptimal = true;
#endif
break;
case VK_ERROR_OUT_OF_DATE_KHR:
is_outdated = true;