- fixed: The check for explicitly not splitting wall polygons at seg vertices was inverted.

This commit is contained in:
Christoph Oelckers 2017-01-02 23:21:28 +01:00
parent e7cd5ec2bb
commit 1261046f1a

View file

@ -195,7 +195,7 @@ void GLWall::RenderWall(int textured)
gl_RenderState.ApplyLightIndex(dynlightindex); gl_RenderState.ApplyLightIndex(dynlightindex);
if (gl.buffermethod != BM_DEFERRED) if (gl.buffermethod != BM_DEFERRED)
{ {
MakeVertices(!(textured&RWF_NOSPLIT)); MakeVertices(!!(textured&RWF_NOSPLIT));
} }
else if (vertcount == 0) else if (vertcount == 0)
{ {