mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Don't count unscaled frequently changing texels.
May cause more things to be scaled per frame (especially if first textures on a frame are frequently changing.)
This commit is contained in:
parent
434af26af7
commit
99c8319f15
1 changed files with 1 additions and 1 deletions
|
@ -1424,7 +1424,7 @@ void TextureCache::SetTexture(bool force) {
|
|||
if (entry->addr > 0x05000000 && entry->addr < 0x08800000)
|
||||
scaleFactor = 1;
|
||||
|
||||
if (scaleFactor != 1) {
|
||||
if (scaleFactor != 1 && (entry->status & TexCacheEntry::STATUS_CHANGE_FREQUENT) == 0) {
|
||||
if (texelsScaledThisFrame_ >= TEXCACHE_MAX_TEXELS_SCALED) {
|
||||
entry->status |= TexCacheEntry::STATUS_TO_SCALE;
|
||||
scaleFactor = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue