Merge the texture flags into the dirty flags

This commit is contained in:
Henrik Rydgard committed 2017-01-24 18:12:20 +01:00
1 parent c289a2c7bf
commit e4cb44c243
25 files changed
+241 -253

No files matched your search

+1 -1
View File
@@ -968,7 +968,7 @@ void TextureCacheVulkan::SetTexture() {
// Always rehash in this case, if one changed the rest all probably did.
rehash = true;
entry->status &= ~TexCacheEntry::STATUS_CLUT_RECHECK;
} else if ((gstate_c.textureChanged & TEXCHANGE_UPDATED) == 0) {
} else if (!gstate_c.IsDirty(DIRTY_TEXTURE_IMAGE)) {
// Okay, just some parameter change - the data didn't change, no need to rehash.
rehash = false;
}