mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed: Rendering a translucent mid texture did not unset the render style for the following bottom texture.
With additive translucency and non-black fog this caused visual errors.
This commit is contained in:
parent
c03024e1b0
commit
515323dcbd
1 changed files with 1 additions and 0 deletions
|
@ -1085,6 +1085,7 @@ void GLWall::DoMidTexture(seg_t * seg, bool drawfogboundary,
|
||||||
// restore some values that have been altered in this function
|
// restore some values that have been altered in this function
|
||||||
glseg=glsave;
|
glseg=glsave;
|
||||||
flags&=~(GLT_CLAMPX|GLT_CLAMPY|GLWF_NOSPLITUPPER|GLWF_NOSPLITLOWER);
|
flags&=~(GLT_CLAMPX|GLT_CLAMPY|GLWF_NOSPLITUPPER|GLWF_NOSPLITLOWER);
|
||||||
|
RenderStyle = STYLE_Normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue