soft: fix colors

This commit is contained in:
Denis Pauk 2022-04-09 23:22:36 +03:00
parent 96a78c41c8
commit a58fb0ed01

View file

@ -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];