mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Clear STATUS_TO_SCALE at a better place
This commit is contained in:
parent
ea9f8d8bf3
commit
2f86e3e021
1 changed files with 1 additions and 1 deletions
|
@ -1241,7 +1241,6 @@ void TextureCache::SetTexture(bool force) {
|
|||
|
||||
if (match && (entry->status & TexCacheEntry::STATUS_TO_SCALE) && g_Config.iTexScalingLevel != 1 && texelsScaledThisFrame_ < TEXCACHE_MAX_TEXELS_SCALED) {
|
||||
// INFO_LOG(G3D, "Reloading texture to do the scaling we skipped..");
|
||||
entry->status &= ~TexCacheEntry::STATUS_TO_SCALE;
|
||||
match = false;
|
||||
}
|
||||
|
||||
|
@ -1424,6 +1423,7 @@ void TextureCache::SetTexture(bool force) {
|
|||
scaleFactor = 1;
|
||||
// INFO_LOG(G3D, "Skipped scaling for now..");
|
||||
} else {
|
||||
entry->status &= ~TexCacheEntry::STATUS_TO_SCALE;
|
||||
texelsScaledThisFrame_ += w * h;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue