3
0
Fork 0
forked from suyu/suyu

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) {
most_recent_tick = std::max(most_recent_tick, aliased_image.modification_tick);
aliased_images.push_back(&aliased);
any_rescaled |= True(image.flags & ImageFlagBits::Rescaled);
any_rescaled |= True(aliased_image.flags & ImageFlagBits::Rescaled);
}
}
if (aliased_images.empty()) {