Fix missing loading icons in iOS

This commit is contained in:
Benau 2019-07-16 14:03:56 +08:00
parent b1ed88476c
commit 3c252ac4c2

View File

@ -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
{