rsx: Properly scale overlay passes to match drawable area
This commit is contained in:
@@ -664,7 +664,8 @@ struct area_base
|
||||
{
|
||||
}
|
||||
|
||||
constexpr area_base(const coord_base<T>& coord) : x1{ coord.x }, x2{ coord.x + coord.width }, y1{ coord.y }, y2{ coord.y + coord.height }
|
||||
template<typename N>
|
||||
constexpr area_base(const coord_base<N>& coord) : x1{ T(coord.x) }, x2{ T(coord.x + coord.width) }, y1{ T(coord.y) }, y2{ T(coord.y + coord.height) }
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user