[Scummvm-git-logs] scummvm master -> 33e6dfb84bad934819a70d0c0fd447a987ceebd5

sev- noreply at scummvm.org
Mon Sep 4 19:36:17 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
33e6dfb84b ENGINES: Show splash screen on 3D engines


Commit: 33e6dfb84bad934819a70d0c0fd447a987ceebd5
    https://github.com/scummvm/scummvm/commit/33e6dfb84bad934819a70d0c0fd447a987ceebd5
Author: Jozen (me at jozen.blue)
Date: 2023-09-04T21:36:13+02:00

Commit Message:
ENGINES: Show splash screen on 3D engines

Changed paths:
    engines/engine.cpp


diff --git a/engines/engine.cpp b/engines/engine.cpp
index 5bea2fbb1dc..47e7a1542da 100644
--- a/engines/engine.cpp
+++ b/engines/engine.cpp
@@ -459,6 +459,12 @@ void initGraphics3d(int width, int height) {
 		g_system->setFeatureState(OSystem::kFeatureVSync, ConfMan.getBool("vsync")); // TODO: Replace this with initCommonGFX()
 		g_system->setStretchMode(ConfMan.get("stretch_mode").c_str()); // TODO: Replace this with initCommonGFX()
 	g_system->endGFXTransaction();
+
+	if (!splash && !GUI::GuiManager::instance()._launched) {
+		Common::Event event;
+		g_system->getEventManager()->pollEvent(event);
+		splashScreen();
+	}
 }
 
 void GUIErrorMessageWithURL(const Common::U32String &msg, const char *url) {




More information about the Scummvm-git-logs mailing list