Skip to content

Commit db945f6

Browse files
DHrpcs3Megamouse
authored andcommitted
android: do not invalidate swapchain on VK_SUBOPTIMAL_KHR
Workaround
1 parent b3f5ed5 commit db945f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rpcs3/Emu/RSX/VK/VKPresent.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ void VKGSRender::present(vk::frame_context_t *ctx)
116116
case VK_SUCCESS:
117117
break;
118118
case VK_SUBOPTIMAL_KHR:
119+
#ifndef ANDROID
119120
should_reinitialize_swapchain = true;
121+
#endif
120122
break;
121123
case VK_ERROR_OUT_OF_DATE_KHR:
122124
swapchain_unavailable = true;

0 commit comments

Comments
 (0)