mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
EMI: Only allow transparent materials in EMI
This commit is contained in:
parent
f29379420e
commit
cd7a441f50
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user