video_core: Misc resolution scaling related refactoring

This commit is contained in:
ameerj 2021-10-06 01:18:00 -04:00 committed by Fernando Sahmkow
parent 0b0403b779
commit d99a6e8e47
8 changed files with 51 additions and 47 deletions

View file

@ -1726,9 +1726,7 @@ void TextureCache<P>::CopyImage(ImageId dst_id, ImageId src_id, std::vector<Imag
};
for (auto& copy : copies) {
copy.src_offset.x = scale_up(copy.src_offset.x);
copy.dst_offset.x = scale_up(copy.dst_offset.x);
copy.extent.width = scale_up(copy.extent.width);
if (both_2d) {
copy.src_offset.y = scale_up(copy.src_offset.y);