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:
parent
af8b141be8
commit
a4284501fc
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue