- fixed missing decals on 3D floors with hardware renderer

https://forum.zdoom.org/viewtopic.php?t=61404
This commit is contained in:
alexey.lysiuk 2018-07-23 16:46:51 +03:00
parent 63393e8f1a
commit 3a6e05710a

View file

@ -194,7 +194,7 @@ void GLWall::PutWall(HWDrawInfo *di, bool translucent)
bool solid;
if (passflag[type] == 1) solid = true;
else if (type == RENDERWALL_FFBLOCK) solid = (gltexture && gltexture->isMasked());
else if (type == RENDERWALL_FFBLOCK) solid = gltexture && !gltexture->isMasked();
else solid = false;
if (solid) ProcessDecals(di);