Fixed some light and blending functions for the true color mode
This commit is contained in:
parent
4f635983fc
commit
47f32d03cd
8 changed files with 284 additions and 198 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue