mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-29 18:19:13 +02:00
Merge pull request #4943 from raven02/patch-29
Mipmapping only enable when texture scaling disable
This commit is contained in:
@@ -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