EMI: Only allow transparent materials in EMI

This commit is contained in:
Dries Harnie 2012-09-09 16:35:34 +02:00
parent f29379420e
commit cd7a441f50

View File

@ -1125,7 +1125,7 @@ void GfxOpenGL::selectMaterial(const Texture *material) {
GLuint *textures = (GLuint *)material->_texture;
glBindTexture(GL_TEXTURE_2D, textures[0]);
if (material->_hasAlpha) {
if (material->_hasAlpha && g_grim->getGameType() == GType_MONKEY4) {
glEnable(GL_BLEND);
glDepthMask(false);
}