Android buildfix.

This commit is contained in:
Unknown W. Brackets 2013-04-03 00:57:08 -07:00
parent b85810a3d5
commit 5bb006391c

View File

@ -875,7 +875,9 @@ void TextureCache::SetTexture() {
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_LOD, (float)maxLevel);
} else {
LoadTextureLevel(*entry, 0);
#ifndef USING_GLES2
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0);
#endif
}
float anisotropyLevel = (float) g_Config.iAnisotropyLevel > maxAnisotropyLevel ? maxAnisotropyLevel : (float) g_Config.iAnisotropyLevel;