mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Merge pull request #588 from Azaezel/alpha40/splashscreenSuppression
kill splashscreen on nonwindows
This commit is contained in:
commit
2e153e43e0
|
|
@ -19,9 +19,14 @@ ModuleDatabase.LoadExplicit( "CoreModule" );
|
|||
// Display a splash window immediately to improve app responsiveness before
|
||||
// engine is initialized and main window created.
|
||||
if ($Server::Dedicated == false)
|
||||
displaySplashWindow($Core::splashWindowImage);
|
||||
{
|
||||
if ($platform $= "windows")
|
||||
displaySplashWindow($Core::splashWindowImage);
|
||||
}
|
||||
else
|
||||
{
|
||||
$Video::forceDisplayAdapter = -1;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Load any gameplay modules
|
||||
|
|
@ -45,7 +50,7 @@ else
|
|||
}
|
||||
}
|
||||
|
||||
if ($Server::Dedicated == false)
|
||||
if ( ($Server::Dedicated == false) && ($platform $= "windows") )
|
||||
closeSplashWindow();
|
||||
|
||||
echo("Engine initialized...");
|
||||
Loading…
Reference in a new issue