mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
android: do not recreate swapchain on stop
This commit is contained in:
parent
6ad58c8813
commit
151ff414d8
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue