mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 14:42:06 +00:00
Call VID_Init() before IN_Init().
This commit is contained in:
parent
06e87abc90
commit
89263d5eca
1 changed files with 9 additions and 10 deletions
|
@ -877,8 +877,7 @@ void Host_Init (quakeparms_t *parms)
|
|||
|
||||
R_InitTextures (); // needed even for dedicated servers
|
||||
|
||||
if (cls.state != ca_dedicated)
|
||||
{
|
||||
if (cls.state != ca_dedicated) {
|
||||
host_basepal = (byte *)COM_LoadHunkFile ("gfx/palette.lmp");
|
||||
if (!host_basepal)
|
||||
Sys_Error ("Couldn't load gfx/palette.lmp");
|
||||
|
@ -886,14 +885,14 @@ void Host_Init (quakeparms_t *parms)
|
|||
if (!host_colormap)
|
||||
Sys_Error ("Couldn't load gfx/colormap.lmp");
|
||||
|
||||
IN_Init ();
|
||||
VID_Init (host_basepal);
|
||||
Draw_Init ();
|
||||
SCR_Init ();
|
||||
R_Init ();
|
||||
CDAudio_Init ();
|
||||
Sbar_Init ();
|
||||
CL_Init ();
|
||||
VID_Init(host_basepal);
|
||||
IN_Init();
|
||||
Draw_Init();
|
||||
SCR_Init();
|
||||
R_Init();
|
||||
CDAudio_Init();
|
||||
Sbar_Init();
|
||||
CL_Init();
|
||||
}
|
||||
|
||||
Cbuf_InsertText ("exec quake.rc\n");
|
||||
|
|
Loading…
Reference in a new issue