mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 14:30:48 +00:00
soft: fix colors
This commit is contained in:
parent
96a78c41c8
commit
a58fb0ed01
1 changed files with 3 additions and 0 deletions
|
@ -351,7 +351,10 @@ R_ApplyLight(pixel_t pix, const light3_t light)
|
|||
|
||||
/* full light, code could skip light processing */
|
||||
if ((light_masked[0] | light_masked[1] | light_masked[2]) <= vid_lightthreshold)
|
||||
{
|
||||
// FIXME: color conversion should be applied and based on vid_colormap
|
||||
return pix;
|
||||
}
|
||||
|
||||
/* get color component for each component */
|
||||
b_r = d_8to24table[pix * 4 + 0];
|
||||
|
|
Loading…
Reference in a new issue