mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-15 05:00:32 +01:00
android: do not invalidate swapchain on VK_SUBOPTIMAL_KHR
Workaround
This commit is contained in:
parent
b3f5ed55a1
commit
db945f6aed
|
|
@ -116,7 +116,9 @@ void VKGSRender::present(vk::frame_context_t *ctx)
|
|||
case VK_SUCCESS:
|
||||
break;
|
||||
case VK_SUBOPTIMAL_KHR:
|
||||
#ifndef ANDROID
|
||||
should_reinitialize_swapchain = true;
|
||||
#endif
|
||||
break;
|
||||
case VK_ERROR_OUT_OF_DATE_KHR:
|
||||
swapchain_unavailable = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue