mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
Set min/mag filter to GL_LINEAR when disable mipmapping
This commit is contained in:
parent
5bb006391c
commit
fe5c3d778c
@ -437,6 +437,11 @@ void TextureCache::UpdateSamplingParams(TexCacheEntry &entry, bool force) {
|
||||
minFilt |= 1;
|
||||
}
|
||||
|
||||
if (!g_Config.bMipMap) {
|
||||
magFilt &= 1;
|
||||
minFilt &= 1;
|
||||
}
|
||||
|
||||
if (force || entry.minFilt != minFilt) {
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, MinFiltGL[minFilt]);
|
||||
entry.minFilt = minFilt;
|
||||
|
Loading…
Reference in New Issue
Block a user