- 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
1 changed files with 0 additions and 1 deletions

View File

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