mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 14:52:08 +00:00
probable fix for pink boxes
This commit is contained in:
parent
0a8dc3c98f
commit
d48fbdd030
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ VID_SetPalette (unsigned char *palette)
|
||||||
v = (255<<24) + (r<<0) + (g<<8) + (b<<16);
|
v = (255<<24) + (r<<0) + (g<<8) + (b<<16);
|
||||||
*table++ = v;
|
*table++ = v;
|
||||||
}
|
}
|
||||||
d_8to24table[255] &= 0xffffff; // 255 is transparent
|
d_8to24table[255] = 0; // 255 is transparent
|
||||||
|
|
||||||
// JACK: 3D distance calcs - k is last closest, l is the distance.
|
// JACK: 3D distance calcs - k is last closest, l is the distance.
|
||||||
// FIXME: Precalculate this and cache to disk.
|
// FIXME: Precalculate this and cache to disk.
|
||||||
|
|
Loading…
Reference in a new issue