mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
rsx: Resolution scaling overhaul
- Enforce square pixels instead of per-axis scaling
This commit is contained in:
parent
68931b4c43
commit
0e7a705254
10 changed files with 121 additions and 89 deletions
|
@ -1518,10 +1518,8 @@ namespace rsx
|
|||
framebuffer_status_valid = true;
|
||||
}
|
||||
|
||||
region.x1 = rsx::apply_resolution_scale(x1, false);
|
||||
region.x2 = rsx::apply_resolution_scale(x2, true);
|
||||
region.y1 = rsx::apply_resolution_scale(y1, false);
|
||||
region.y2 = rsx::apply_resolution_scale(y2, true);
|
||||
std::tie(region.x1, region.y1) = rsx::apply_resolution_scale<false>(x1, y1);
|
||||
std::tie(region.x2, region.y2) = rsx::apply_resolution_scale<true>(x2, y2);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue