(macOS) Disabled the startup animations as they are not working correctly as of SDL 2.0.18

This commit is contained in:
Leon Styhre 2021-12-23 11:45:21 +01:00
parent 8a2b2ee05c
commit 4bbd0bc1af

View file

@ -396,7 +396,15 @@ void ViewController::goToSystemView(SystemData* system, bool playTransition)
}
}
#if defined(__APPLE__)
// The startup animations are very choppy on macOS as of moving to SDL 2.0.18 so the
// best user experience is to simply disable them.
if (applicationStartup)
playViewTransition(true);
else if (playTransition)
#else
if (playTransition || applicationStartup)
#endif
playViewTransition();
else
playViewTransition(true);