From ead8a2874d3b2d9ea4a2b988b8a025352b1ef591 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 5 Oct 2014 12:03:55 +0200 Subject: [PATCH] - fixed: The texture mode implied by render style did not work for models. --- src/gl/models/gl_models.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gl/models/gl_models.cpp b/src/gl/models/gl_models.cpp index 96d604ecb..ae34e882d 100644 --- a/src/gl/models/gl_models.cpp +++ b/src/gl/models/gl_models.cpp @@ -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.