- fixed typo in offset setter.

This commit is contained in:
Christoph Oelckers 2020-05-24 20:11:17 +02:00
parent 7a84887fc4
commit 6007d5dc8f

View file

@ -246,7 +246,7 @@ public:
void SetOffsets(int l, int t) void SetOffsets(int l, int t)
{ {
_LeftOffset[0] = _LeftOffset[1] = l; _LeftOffset[0] = _LeftOffset[1] = l;
_TopOffset[0] = _TopOffset[1] = l; _TopOffset[0] = _TopOffset[1] = t;
} }
int GetTexelWidth() { return Width; } int GetTexelWidth() { return Width; }