- 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
1 changed files with 1 additions and 0 deletions

View File

@ -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);