mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Set min/mag filter to GL_LINEAR when disable mipmapping
This commit is contained in:
parent
5bb006391c
commit
fe5c3d778c
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue