In LINEARFMV mode, let the presence of a video override the alpha and color test checks.

This commit is contained in:
Henrik Rydgård 2013-11-29 18:07:50 +01:00
parent ebdab9f907
commit 562582320a

View File

@ -501,7 +501,7 @@ void TextureCache::UpdateSamplingParams(TexCacheEntry &entry, bool force) {
}
}
if ((g_Config.iTexFiltering == LINEAR || (g_Config.iTexFiltering == LINEARFMV && g_iNumVideos)) && !gstate.isColorTestEnabled() && !gstate.isAlphaTestEnabled()) {
if ((g_Config.iTexFiltering == LINEAR && !gstate.isColorTestEnabled() && !gstate.isAlphaTestEnabled()) || (g_Config.iTexFiltering == LINEARFMV && g_iNumVideos)) {
magFilt |= 1;
minFilt |= 1;
}