2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

texture_cache: Fix typo in aliased image rescaling

This commit is contained in:
ameerj 2021-07-22 00:16:19 -04:00 committed by Fernando Sahmkow
parent 0fb4b84383
commit d5143c83a9

View file

@ -1552,7 +1552,7 @@ void TextureCache<P>::SynchronizeAliases(ImageId image_id) {
if (image.modification_tick < aliased_image.modification_tick) { if (image.modification_tick < aliased_image.modification_tick) {
most_recent_tick = std::max(most_recent_tick, aliased_image.modification_tick); most_recent_tick = std::max(most_recent_tick, aliased_image.modification_tick);
aliased_images.push_back(&aliased); aliased_images.push_back(&aliased);
any_rescaled |= True(image.flags & ImageFlagBits::Rescaled); any_rescaled |= True(aliased_image.flags & ImageFlagBits::Rescaled);
} }
} }
if (aliased_images.empty()) { if (aliased_images.empty()) {