aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/Extents2D.cs
blob: e9e26af411e5522dda426a57c0777dcef5bac759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace Ryujinx.Graphics.GAL
{
    public struct Extents2D
    {
        public int X1 { get; }
        public int Y1 { get; }
        public int X2 { get; }
        public int Y2 { get; }

        public Extents2D(int x1, int y1, int x2, int y2)
        {
            X1 = x1;
            Y1 = y1;
            X2 = x2;
            Y2 = y2;
        }
    }
}