EMI: Draw model faces with alpha textures also to the depth buffer. Fixes #874

This commit is contained in:
Joni Vähämäki 2014-06-17 18:30:21 +03:00
parent 83ed05c269
commit 3232b9cb4d

View file

@ -1412,7 +1412,6 @@ void GfxOpenGL::selectMaterial(const Texture *material) {
if (material->_hasAlpha && g_grim->getGameType() == GType_MONKEY4) {
glEnable(GL_BLEND);
glDepthMask(GL_FALSE);
}
// Grim has inverted tex-coords, EMI doesn't