video_core: Misc resolution scaling related refactoring
This commit is contained in:
parent
88ef04dbaf
commit
31478c6c1b
8 changed files with 51 additions and 47 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue