mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-19 19:15:26 +00:00
android: do not invalidate swapchain on VK_SUBOPTIMAL_KHR
Workaround
This commit is contained in:
parent
35e29caa14
commit
0c5d89c25a
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue