- fixed: The texture matrix was not reset after drawing the texture pass for multipass textured dynamic lights.

This commit is contained in:
Christoph Oelckers 2016-05-19 12:22:39 +02:00
parent 13da14e915
commit 5017a192eb
1 changed files with 1 additions and 0 deletions

View File

@ -455,6 +455,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_SetPlaneTextureRotation(&plane, gltexture);
DrawSubsectors(pass, false, false);
gl_RenderState.EnableTextureMatrix(false);
break;
}
}