Skip to content

Commit

Permalink
Only turn on filtering in FMV when alpha test isn't enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
danyalzia committed Oct 20, 2013
1 parent a4a052d commit 4567aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPU/GLES/TextureCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ void TextureCache::UpdateSamplingParams(TexCacheEntry &entry, bool force) {
}
}

if ((g_Config.iTexFiltering == LINEAR || (g_Config.iTexFiltering == LINEARFMV && g_iNumVideos)) && !gstate.isColorTestEnabled()) {
if ((g_Config.iTexFiltering == LINEAR || (g_Config.iTexFiltering == LINEARFMV && g_iNumVideos)) && !gstate.isColorTestEnabled() && !gstate.isAlphaTestEnabled()) {
magFilt |= 1;
minFilt |= 1;
}
Expand Down

0 comments on commit 4567aca

Please sign in to comment.