From be97ee04f99ae6f2016da28742d3075cc8b94a78 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 20 May 2021 19:21:14 +0200 Subject: [PATCH] - re-enable flat sprite rendering. This was commented out for testing but forgotten afterward. --- source/core/rendering/scene/hw_drawinfo.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/core/rendering/scene/hw_drawinfo.cpp b/source/core/rendering/scene/hw_drawinfo.cpp index e22857916..101c5f29b 100644 --- a/source/core/rendering/scene/hw_drawinfo.cpp +++ b/source/core/rendering/scene/hw_drawinfo.cpp @@ -538,9 +538,6 @@ 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); @@ -548,7 +545,6 @@ void HWDrawInfo::RenderScene(FRenderState &state) drawlists[GLDL_MASKEDFLATS].DrawFlats(this, state, false); state.SetColorMask(true); state.ClearDepthBias(); - */ drawlists[GLDL_MODELS].Draw(this, state, false);