mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 23:40:29 +02:00
When mipmap disabled , maxlevel always 0 (set earlier)
This commit is contained in:
1 parent
1dfcbd0ea1
commit
271b680737
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