Merge pull request #4176 from raven02/patch-38

Force Nearest when color test enabled and rendering resolution greater t...
This commit is contained in:
Henrik Rydgård 2013-10-14 02:11:42 -07:00
commit a27e6f9add

View file

@ -489,8 +489,8 @@ void TextureCache::UpdateSamplingParams(TexCacheEntry &entry, bool force) {
magFilt |= 1;
minFilt |= 1;
}
if (g_Config.iTexFiltering == NEAREST) {
// Force Nearest when color test enabled and rendering resolution greater than 480x272
if (g_Config.iTexFiltering == NEAREST || (gstate.isColorTestEnabled() && g_Config.iInternalResolution != 1)) {
magFilt &= ~1;
minFilt &= ~1;
}