android: do not recreate swapchain on stop

This commit is contained in:
DH 2025-03-19 05:06:10 +03:00
parent 6ad58c8813
commit 151ff414d8

View file

@ -43,6 +43,12 @@ void VKGSRender::reinitialize_swapchain()
VK_GET_SYMBOL(vkDeviceWaitIdle)(*m_device);
auto handle = m_frame->handle();
if (Emu.IsStopped())
{
return;
}
m_swapchain->create(handle);
#endif
}