From 4bb57cfab5f752f3e40ab8f2cf95aa4e44a638ae Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 21 May 2021 19:03:39 +0200 Subject: [PATCH] - fixed flickering floor sprites. The SetDepthBias call was somehow gotten lost. --- source/core/rendering/scene/hw_drawinfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/core/rendering/scene/hw_drawinfo.cpp b/source/core/rendering/scene/hw_drawinfo.cpp index 101c5f29b..53bb84708 100644 --- a/source/core/rendering/scene/hw_drawinfo.cpp +++ b/source/core/rendering/scene/hw_drawinfo.cpp @@ -538,6 +538,7 @@ void HWDrawInfo::RenderScene(FRenderState &state) drawlists[GLDL_MASKEDWALLSH].DrawWalls(this, state, false); state.SetColorMask(true); + state.SetDepthBias(-1, 128); state.SetDepthMask(false); drawlists[GLDL_MASKEDFLATS].DrawFlats(this, state, false); state.SetDepthMask(true);