Mipmapping only enable when texture scaling disable

This commit is contained in:
raven02 committed 2013-12-30 14:28:28 +08:00
1 parent be74da8f3c
commit d59351d3b0
1 file changed
+3 -2
+3 -2
View File
@@ -1149,8 +1149,9 @@ void TextureCache::SetTexture(bool force) {
// Always load base level texture here
LoadTextureLevel(*entry, 0, replaceImages, dstFmt);
if (g_Config.bMipMap && maxLevel > 0) {
// Mipmapping only enable when texture scaling disable
if (g_Config.bMipMap && g_Config.iTexScalingLevel == 1 && maxLevel > 0) {
#ifndef USING_GLES2
for (int i = 1; i <= maxLevel; i++) {
LoadTextureLevel(*entry, i, replaceImages, dstFmt);