From 284a3a7b449c079d44854b188c4384a48b25ff45 Mon Sep 17 00:00:00 2001 From: raven02 Date: Sun, 25 Aug 2013 14:43:03 +0800 Subject: [PATCH] Mipmapping only enable when texture scaling disabled --- GPU/GLES/TextureCache.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GPU/GLES/TextureCache.cpp b/GPU/GLES/TextureCache.cpp index 7c36755c33..975da02fc2 100644 --- a/GPU/GLES/TextureCache.cpp +++ b/GPU/GLES/TextureCache.cpp @@ -1206,7 +1206,9 @@ void TextureCache::SetTexture() { break; } } - if (g_Config.bMipMap) { + + // Mipmapping only enable when texture scaling disabled + if (g_Config.bMipMap && g_Config.iTexScalingLevel == 1) { #ifdef USING_GLES2 // GLES2 doesn't have support for a "Max lod" which is critical as PSP games often // don't specify mips all the way down. As a result, we either need to manually generate