EMI: Draw model faces with alpha textures also to the depth buffer. Fixes #874
This commit is contained in:
parent
83ed05c269
commit
3232b9cb4d
1 changed files with 0 additions and 1 deletions
|
@ -1412,7 +1412,6 @@ void GfxOpenGL::selectMaterial(const Texture *material) {
|
||||||
|
|
||||||
if (material->_hasAlpha && g_grim->getGameType() == GType_MONKEY4) {
|
if (material->_hasAlpha && g_grim->getGameType() == GType_MONKEY4) {
|
||||||
glEnable(GL_BLEND);
|
glEnable(GL_BLEND);
|
||||||
glDepthMask(GL_FALSE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Grim has inverted tex-coords, EMI doesn't
|
// Grim has inverted tex-coords, EMI doesn't
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue