From 35ea6f28fb29ab41077ab86760ef1ed161386edd Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Sat, 14 Mar 2015 20:56:17 +0600 Subject: [PATCH] Load mip-mapped texture only when LOD emulation is enabled. --- Textures.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Textures.cpp b/Textures.cpp index 414b880a..cc6097c0 100644 --- a/Textures.cpp +++ b/Textures.cpp @@ -849,7 +849,7 @@ void TextureCache::_load(u32 _tile, CachedTexture *_pTexture) pDest = (u32*)malloc(_pTexture->textureBytes); GLint mipLevel = 0, maxLevel = 0; - if (gSP.texture.level > gSP.texture.tile + 1) + if (config.generalEmulation.enableLOD != 0 && gSP.texture.level > gSP.texture.tile + 1) maxLevel = _tile == 0 ? 0 : gSP.texture.level - gSP.texture.tile - 1; _pTexture->max_level = maxLevel;