mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-18 12:55:19 +00:00
android: do not recreate swapchain on stop
This commit is contained in:
parent
6ad58c8813
commit
151ff414d8
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue