- fixed: The texture mode implied by render style did not work for models.

This commit is contained in:
Christoph Oelckers 2014-10-05 12:03:55 +02:00
parent fd3128a164
commit ead8a2874d

View file

@ -753,7 +753,6 @@ void gl_RenderModel(GLSprite * spr)
// Setup transformation.
glDepthFunc(GL_LEQUAL);
gl_RenderState.SetTextureMode(TM_MODULATE);
gl_RenderState.EnableTexture(true);
// [BB] In case the model should be rendered translucent, do back face culling.
// This solves a few of the problems caused by the lack of depth sorting.