diff --git a/src/Textures.cpp b/src/Textures.cpp index 39bb33e4..b2fb1579 100644 --- a/src/Textures.cpp +++ b/src/Textures.cpp @@ -1098,8 +1098,10 @@ void TextureCache::activateTexture(u32 _t, CachedTexture *_pTexture) glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, _pTexture->clampS ? GL_CLAMP_TO_EDGE : _pTexture->mirrorS ? GL_MIRRORED_REPEAT : GL_REPEAT); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, _pTexture->clampT ? GL_CLAMP_TO_EDGE : _pTexture->mirrorT ? GL_MIRRORED_REPEAT : GL_REPEAT); +#ifndef GLESX if (video().getRender().getRenderState() == OGLRender::rsTriangle && config.texture.maxAnisotropyF > 0.0f) glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, config.texture.maxAnisotropyF); +#endif _pTexture->lastDList = RSP.DList;