mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Mipmapping only enable when texture scaling disable
This commit is contained in:
1 parent
be74da8f3c
commit
d59351d3b0
1 file changed
+3
-2
@@ -1149,8 +1149,9 @@ void TextureCache::SetTexture(bool force) {
|
||||
|
||||
// Always load base level texture here
|
||||
LoadTextureLevel(*entry, 0, replaceImages, dstFmt);
|
||||
|
||||
if (g_Config.bMipMap && maxLevel > 0) {
|
||||
|
||||
// Mipmapping only enable when texture scaling disable
|
||||
if (g_Config.bMipMap && g_Config.iTexScalingLevel == 1 && maxLevel > 0) {
|
||||
#ifndef USING_GLES2
|
||||
for (int i = 1; i <= maxLevel; i++) {
|
||||
LoadTextureLevel(*entry, i, replaceImages, dstFmt);
|
||||
|
||||
Reference in new issue
Block a user