mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Turn off forced linear filtering if colortest enabled
This commit is contained in:
parent
c4abec3560
commit
5fc11fa99c
1 changed files with 2 additions and 2 deletions
|
@ -514,7 +514,7 @@ void TextureCache::UpdateSamplingParams(TexCacheEntry &entry, bool force) {
|
|||
}
|
||||
}
|
||||
|
||||
if (g_Config.bLinearFiltering) {
|
||||
if (g_Config.bLinearFiltering && !gstate.isColorTestEnabled()) {
|
||||
magFilt |= 1;
|
||||
minFilt |= 1;
|
||||
}
|
||||
|
@ -523,7 +523,7 @@ void TextureCache::UpdateSamplingParams(TexCacheEntry &entry, bool force) {
|
|||
magFilt &= 1;
|
||||
minFilt &= 1;
|
||||
}
|
||||
|
||||
|
||||
if (force || entry.minFilt != minFilt) {
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, MinFiltGL[minFilt]);
|
||||
entry.minFilt = minFilt;
|
||||
|
|
Loading…
Add table
Reference in a new issue