mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- fixed: The texture mode implied by render style did not work for models.
This commit is contained in:
parent
fd3128a164
commit
ead8a2874d
1 changed files with 0 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue