Fixed some light and blending functions for the true color mode

This commit is contained in:
Magnus Norddahl 2016-06-02 14:49:03 +02:00
commit 47f32d03cd
8 changed files with 284 additions and 198 deletions

View file

@ -171,13 +171,11 @@ void DCanvas::DrawTextureParms(FTexture *img, DrawParms &parms)
if (translation != NULL)
{
dc_colormap = (lighttable_t *)translation;
dc_light = 0;
R_SetColorMapLight((lighttable_t *)translation, 0, 0);
}
else
{
dc_colormap = identitymap;
dc_light = 0;
R_SetColorMapLight(identitymap, 0, 0);
}
fixedcolormap = dc_colormap;