mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
rsx/gl: Implement resolution scaling
rsx: Revise wpos calculation to take resolution scale into account
This commit is contained in:
parent
47202d5839
commit
12ab03b0b5
14 changed files with 202 additions and 98 deletions
|
@ -731,9 +731,9 @@ struct area_base
|
|||
{
|
||||
return{ x1 * size.width, y1 * size.height, x2 * size.width, y2 * size.height };
|
||||
}
|
||||
constexpr area_base operator * (const T& value) const
|
||||
constexpr area_base operator * (const f32& value) const
|
||||
{
|
||||
return{ x1 * value, y1 * value, x2 * value, y2 * value };
|
||||
return{ (T)(x1 * value), (T)(y1 * value), (T)(x2 * value), (T)(y2 * value) };
|
||||
}
|
||||
|
||||
template<typename NT>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue