mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 23:32:02 +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.
|
// 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.
|
||||||
|
|
Loading…
Reference in a new issue