File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2626#include " IGame_Persistent.h"
2727#include " xrScriptEngine/ScriptExporter.hpp"
2828#include " xr_input.h"
29+ #include " splash.h"
2930
3031ENGINE_API CRenderDevice Device;
3132ENGINE_API CLoadScreenRenderer load_screen_renderer;
@@ -322,11 +323,12 @@ void CRenderDevice::Run()
322323 }
323324 // Start all threads
324325 mt_bMustExit = FALSE ;
325- ShowWindow (m_hWnd, SW_SHOWNORMAL);
326326 thread_spawn (SecondaryThreadProc, " X-RAY Secondary thread" , 0 , this );
327327 // Message cycle
328328 seqAppStart.Process (rp_AppStart);
329329 GEnv.Render ->ClearTarget ();
330+ splash::hide ();
331+ ShowWindow (m_hWnd, SW_SHOWNORMAL);
330332 message_loop ();
331333 seqAppEnd.Process (rp_AppEnd);
332334 // Stop Balance-Thread
Original file line number Diff line number Diff line change 1818#include " Text_Console.h"
1919#include " xrSASH.h"
2020#include " xr_ioc_cmd.h"
21- #include " splash.h"
2221
2322#ifdef MASTER_GOLD
2423#define NO_MULTI_INSTANCES
@@ -183,7 +182,6 @@ ENGINE_API void Startup()
183182 g_SpatialSpacePhysic = new ISpatial_DB (" Spatial phys" );
184183
185184 // Main cycle
186- splash::hide ();
187185 Device.Run ();
188186 // Destroy APP
189187 xr_delete (g_SpatialSpacePhysic);
You can’t perform that action at this time.
0 commit comments