From d17464e86bf0b6780945036fd828b02caa16e04a Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 17 Dec 2019 23:54:52 +0100 Subject: ENGINES: We must poll events in order to show the window on some platforms. This is a regression from b86840087. The side effect of it that on Mac the splash screen in not visible at all. I hope that this does not trigger same crash, as it happens now only once. --- engines/engine.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/engine.cpp b/engines/engine.cpp index c16c1f909d..cde528e1cd 100644 --- a/engines/engine.cpp +++ b/engines/engine.cpp @@ -261,6 +261,8 @@ void splashScreen() { // Delay 0.6 secs uint time0 = g_system->getMillis(); Common::Event event; + g_system->getEventManager()->pollEvent(event); + while (time0 + 600 > g_system->getMillis()) { g_system->delayMillis(10); } -- cgit v1.2.3