mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-26 05:40:49 +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
|
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");
|
host_basepal = (byte *)COM_LoadHunkFile ("gfx/palette.lmp");
|
||||||
if (!host_basepal)
|
if (!host_basepal)
|
||||||
Sys_Error ("Couldn't load gfx/palette.lmp");
|
Sys_Error ("Couldn't load gfx/palette.lmp");
|
||||||
|
@ -886,8 +885,8 @@ void Host_Init (quakeparms_t *parms)
|
||||||
if (!host_colormap)
|
if (!host_colormap)
|
||||||
Sys_Error ("Couldn't load gfx/colormap.lmp");
|
Sys_Error ("Couldn't load gfx/colormap.lmp");
|
||||||
|
|
||||||
IN_Init ();
|
|
||||||
VID_Init(host_basepal);
|
VID_Init(host_basepal);
|
||||||
|
IN_Init();
|
||||||
Draw_Init();
|
Draw_Init();
|
||||||
SCR_Init();
|
SCR_Init();
|
||||||
R_Init();
|
R_Init();
|
||||||
|
|
Loading…
Reference in a new issue