Only turn off filtering on color test in through mode. Should fix #4192, #4202

This commit is contained in:
Henrik Rydgard committed 2013-10-15 11:59:32 +02:00
1 parent d53a8208d3
commit 8b5eff3677
1 file changed
+1 -1
+1 -1
View File
@@ -490,7 +490,7 @@ void TextureCache::UpdateSamplingParams(TexCacheEntry &entry, bool force) {
minFilt |= 1;
}
// Force Nearest when color test enabled and rendering resolution greater than 480x272
if (g_Config.iTexFiltering == NEAREST || (gstate.isColorTestEnabled() && g_Config.iInternalResolution != 1)) {
if (g_Config.iTexFiltering == NEAREST || (gstate.isColorTestEnabled() && g_Config.iInternalResolution != 1 && gstate.isModeThrough())) {
magFilt &= ~1;
minFilt &= ~1;
}