Fix sometimes android black screen after resuming in vulkan

This commit is contained in:
Benau 2022-11-07 10:51:29 +08:00
parent 6b8e0644db
commit e2a82b3c09

View File

@ -2270,6 +2270,10 @@ void GEVulkanDriver::unpauseRendering()
createSwapChainRelated(true/*handle_surface*/);
g_paused_rendering.store(false);
// Remove any previous scheduled pause to fix sometimes android black
// screen after resuming
g_schedule_pausing_rendering.store(false);
} // unpauseRendering
// ----------------------------------------------------------------------------