- 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:
Christoph Oelckers 2018-04-15 08:29:40 +02:00
parent c03024e1b0
commit 515323dcbd
1 changed files with 1 additions and 0 deletions

View File

@ -1085,6 +1085,7 @@ void GLWall::DoMidTexture(seg_t * seg, bool drawfogboundary,
// restore some values that have been altered in this function
glseg=glsave;
flags&=~(GLT_CLAMPX|GLT_CLAMPY|GLWF_NOSPLITUPPER|GLWF_NOSPLITLOWER);
RenderStyle = STYLE_Normal;
}