- re-enable flat sprite rendering.

This was commented out for testing but forgotten afterward.
This commit is contained in:
Christoph Oelckers 2021-05-20 19:21:14 +02:00
parent 5cfd810311
commit be97ee04f9

View file

@ -538,9 +538,6 @@ 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);
@ -548,7 +545,6 @@ void HWDrawInfo::RenderScene(FRenderState &state)
drawlists[GLDL_MASKEDFLATS].DrawFlats(this, state, false); drawlists[GLDL_MASKEDFLATS].DrawFlats(this, state, false);
state.SetColorMask(true); state.SetColorMask(true);
state.ClearDepthBias(); state.ClearDepthBias();
*/
drawlists[GLDL_MODELS].Draw(this, state, false); drawlists[GLDL_MODELS].Draw(this, state, false);