- fixed flickering floor sprites.

The SetDepthBias call was somehow gotten lost.
This commit is contained in:
Christoph Oelckers 2021-05-21 19:03:39 +02:00
parent 234f303348
commit 4bb57cfab5

View file

@ -538,6 +538,7 @@ void HWDrawInfo::RenderScene(FRenderState &state)
drawlists[GLDL_MASKEDWALLSH].DrawWalls(this, state, false); drawlists[GLDL_MASKEDWALLSH].DrawWalls(this, state, false);
state.SetColorMask(true); state.SetColorMask(true);
state.SetDepthBias(-1, 128);
state.SetDepthMask(false); state.SetDepthMask(false);
drawlists[GLDL_MASKEDFLATS].DrawFlats(this, state, false); drawlists[GLDL_MASKEDFLATS].DrawFlats(this, state, false);
state.SetDepthMask(true); state.SetDepthMask(true);