mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-06-01 17:32:57 +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;
|
int needrepeat = 0;
|
||||||
sector_t *front, *back;
|
sector_t *front, *back;
|
||||||
bool calclighting;
|
bool calclighting;
|
||||||
|
bool rereadcolormap;
|
||||||
FDynamicColormap *usecolormap;
|
FDynamicColormap *usecolormap;
|
||||||
|
|
||||||
if (decal->RenderFlags & RF_INVISIBLE || !viewactive || !decal->PicNum.isValid())
|
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
|
// Prepare lighting
|
||||||
calclighting = false;
|
calclighting = false;
|
||||||
usecolormap = basecolormap;
|
usecolormap = basecolormap;
|
||||||
bool rereadcolormap = true;
|
rereadcolormap = true;
|
||||||
|
|
||||||
// Decals that are added to the scene must fade to black.
|
// Decals that are added to the scene must fade to black.
|
||||||
if (decal->RenderStyle == LegacyRenderStyles[STYLE_Add] && usecolormap->Fade != 0)
|
if (decal->RenderStyle == LegacyRenderStyles[STYLE_Add] && usecolormap->Fade != 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue