git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11434
d7cf8633-e32d-0410-b094-
e92efae38249
Host_InitLocal();
Host_ServerOptions();
+ Thread_Init();
+
if (cls.state == ca_dedicated)
Cmd_AddCommand ("disconnect", CL_Disconnect_f, "disconnect from server (or disconnect all clients if running a server)");
else
R_Modules_Init();
Palette_Init();
MR_Init_Commands();
- Thread_Init();
VID_Shared_Init();
VID_Init();
Render_Init();
{
R_Modules_Shutdown();
VID_Shutdown();
- Thread_Shutdown();
}
+ Thread_Shutdown();
Cmd_Shutdown();
Key_Shutdown();
CL_Shutdown();