mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-17 19:31:01 +00:00
kill splashscreen on nonwindows
was worth a shot, but it's playing up way too much to focus on at present
This commit is contained in:
parent
bda5266c88
commit
901228c3a8
1 changed files with 7 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue