mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- GCC fix of r_segs.cpp - again...
SVN r1959 (trunk)
This commit is contained in:
parent
358b2421ad
commit
a02e8c0b06
1 changed files with 2 additions and 1 deletions
|
@ -2188,6 +2188,7 @@ static void R_RenderDecal (side_t *wall, DBaseDecal *decal, drawseg_t *clipper,
|
|||
int needrepeat = 0;
|
||||
sector_t *front, *back;
|
||||
bool calclighting;
|
||||
bool rereadcolormap;
|
||||
FDynamicColormap *usecolormap;
|
||||
|
||||
if (decal->RenderFlags & RF_INVISIBLE || !viewactive || !decal->PicNum.isValid())
|
||||
|
@ -2434,7 +2435,7 @@ static void R_RenderDecal (side_t *wall, DBaseDecal *decal, drawseg_t *clipper,
|
|||
// Prepare lighting
|
||||
calclighting = false;
|
||||
usecolormap = basecolormap;
|
||||
bool rereadcolormap = true;
|
||||
rereadcolormap = true;
|
||||
|
||||
// Decals that are added to the scene must fade to black.
|
||||
if (decal->RenderStyle == LegacyRenderStyles[STYLE_Add] && usecolormap->Fade != 0)
|
||||
|
|
Loading…
Reference in a new issue