From 3a6e05710af747c91647225ad3341da61fe7372d Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 23 Jul 2018 16:46:51 +0300 Subject: [PATCH] - fixed missing decals on 3D floors with hardware renderer https://forum.zdoom.org/viewtopic.php?t=61404 --- src/hwrenderer/scene/hw_walls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hwrenderer/scene/hw_walls.cpp b/src/hwrenderer/scene/hw_walls.cpp index 1cd924aaf..7be61d9b6 100644 --- a/src/hwrenderer/scene/hw_walls.cpp +++ b/src/hwrenderer/scene/hw_walls.cpp @@ -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);