mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
- fixed flickering floor sprites.
The SetDepthBias call was somehow gotten lost.
This commit is contained in:
parent
234f303348
commit
4bb57cfab5
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue