From 6aad8ff2a2fb02a2c0ef8e6f7fa69d14a68636fb Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 22 Apr 2017 18:19:43 -0700 Subject: [PATCH] GPU: Correct const mip 0 detection. The other clause was mip 1. --- GPU/Common/TextureCacheCommon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/Common/TextureCacheCommon.cpp b/GPU/Common/TextureCacheCommon.cpp index 1d0ff19f1e..5903674833 100644 --- a/GPU/Common/TextureCacheCommon.cpp +++ b/GPU/Common/TextureCacheCommon.cpp @@ -130,7 +130,7 @@ void TextureCacheCommon::GetSamplingParams(int &minFilt, int &magFilt, bool &sCl sClamp = gstate.isTexCoordClampedS(); tClamp = gstate.isTexCoordClampedT(); - bool noMip = (gstate.texlevel & 0xFFFFFF) == 0x000001 || (gstate.texlevel & 0xFFFFFF) == 0x100001; // Fix texlevel at 0 + bool noMip = (gstate.texlevel & 0xFFFFFF) == 0x000001; // Fix texlevel at 0 if (IsFakeMipmapChange()) noMip = gstate.getTexLevelMode() == GE_TEXLEVEL_MODE_CONST;