mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 10:13:43 +01:00
Merge pull request #5079 from raven02/patch-22
When mipmap disabled , maxlevel always 0 (set earlier)
This commit is contained in:
commit
4d7b652f4f
1 file changed
+1
-1
@@ -1166,7 +1166,7 @@ void TextureCache::SetTexture(bool force) {
|
||||
LoadTextureLevel(*entry, 0, replaceImages, dstFmt);
|
||||
|
||||
// Mipmapping only enable when texture scaling disable
|
||||
if (g_Config.bMipMap && g_Config.iTexScalingLevel == 1 && maxLevel > 0) {
|
||||
if (maxLevel > 0 && g_Config.iTexScalingLevel == 1) {
|
||||
#ifndef USING_GLES2
|
||||
for (int i = 1; i <= maxLevel; i++) {
|
||||
LoadTextureLevel(*entry, i, replaceImages, dstFmt);
|
||||
|
||||
Reference in new issue
Block a user