From 3c252ac4c21075fb33c6390d764a90ed44683b86 Mon Sep 17 00:00:00 2001 From: Benau Date: Tue, 16 Jul 2019 14:03:56 +0800 Subject: [PATCH] Fix missing loading icons in iOS --- src/guiengine/engine.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/guiengine/engine.cpp b/src/guiengine/engine.cpp index 36d1eb339..bbcef77af 100644 --- a/src/guiengine/engine.cpp +++ b/src/guiengine/engine.cpp @@ -1412,6 +1412,13 @@ namespace GUIEngine ->beginScene(true, true, video::SColor(255,100,101,140)); renderLoading(false); g_device->getVideoDriver()->endScene(); +#ifdef IOS_STK + // Apple will only update render buffer if you poll the event + // loop, we do this only in iOS so you don't get esc event when + // you press esc button in other OS, this will allow showing + // loading icon in iOS + g_device->run(); +#endif } else {