Android: Ensure shutdown waits for render.

We apparently have a case where render is busy during shutdown, based on
crash reports.
This commit is contained in:
Unknown W. Brackets committed 2021-02-13 12:49:48 -08:00
1 parent f34f554321
commit fb7e4acb06
2 files changed
+20 -9

No files matched your search

+3
View File
@@ -1060,6 +1060,9 @@ void RenderOverlays(UIContext *dc, void *userdata) {
}
void NativeRender(GraphicsContext *graphicsContext) {
_assert_(graphicsContext != nullptr);
_assert_(screenManager != nullptr);
g_GameManager.Update();
if (GetUIState() != UISTATE_INGAME) {