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 88ef04dbaf
commit 31478c6c1b
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);