- added a missing break in the wall draw dispatcher.

This commit is contained in:
Christoph Oelckers 2016-05-09 00:58:55 +02:00
parent d5eb1008a4
commit 15c711f2a1
2 changed files with 2 additions and 1 deletions

View file

@ -453,7 +453,7 @@ void GLFlat::Draw(int pass, bool trans) // trans only has meaning for GLPASS_LIG
gl_RenderState.SetMaterial(gltexture, CLAMP_NONE, 0, -1, false); gl_RenderState.SetMaterial(gltexture, CLAMP_NONE, 0, -1, false);
gl_SetPlaneTextureRotation(&plane, gltexture); gl_SetPlaneTextureRotation(&plane, gltexture);
DrawSubsectors(pass, false, false); DrawSubsectors(pass, false, false);
break;
} }
} }

View file

@ -442,6 +442,7 @@ void GLWall::Draw(int pass)
RenderTranslucentWall(); RenderTranslucentWall();
break; break;
} }
break;
case GLPASS_LIGHTTEX: case GLPASS_LIGHTTEX:
case GLPASS_LIGHTTEX_ADDITIVE: case GLPASS_LIGHTTEX_ADDITIVE: