1
0
Fork 0
forked from fte/fteqw

Is that the fix needed for linux?

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@249 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-09-26 03:35:50 +00:00
parent af8b141be8
commit a4284501fc

View file

@ -1075,6 +1075,7 @@ qboolean R_ApplyRenderer (rendererstate_t *newr)
host_colormap = (qbyte *)COM_LoadMallocFile ("gfx/colormap.lmp");
if (!host_colormap)
{
#ifdef SWQUAKE
float f;
vid.fullbright = 0;
data = host_colormap = BZ_Malloc(256*VID_GRADES+sizeof(int));
@ -1090,6 +1091,9 @@ qboolean R_ApplyRenderer (rendererstate_t *newr)
data[i] = i;
data+=256;
}
#else
Sys_Error ("Couldn't load gfx/colormap.lmp");
#endif
}
else
{