rsx: Explicity describe transfer regions for both source and destination blocks

This commit is contained in:
kd-11 2019-10-02 19:27:48 +03:00 committed by kd-11
parent 08e674aa28
commit 4a19a2dd24
6 changed files with 110 additions and 83 deletions

View file

@ -618,7 +618,13 @@ struct coord_base
{
}
constexpr coord_base(T x, T y, T width, T height) : x{ x }, y{ y }, width{ width }, height{ height }
constexpr coord_base(const coord_base<T>& other)
: position{ other.position }, size{ other.size }
{
}
constexpr coord_base(T x, T y, T width, T height)
: x{ x }, y{ y }, width{ width }, height{ height }
{
}