From 6007d5dc8fa474d5850fc9cbe7e4c6e3d07cab92 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 24 May 2020 20:11:17 +0200 Subject: [PATCH] - fixed typo in offset setter. --- source/core/textures/textures.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/textures/textures.h b/source/core/textures/textures.h index 5df9458a0..74473b161 100644 --- a/source/core/textures/textures.h +++ b/source/core/textures/textures.h @@ -246,7 +246,7 @@ public: void SetOffsets(int l, int t) { _LeftOffset[0] = _LeftOffset[1] = l; - _TopOffset[0] = _TopOffset[1] = l; + _TopOffset[0] = _TopOffset[1] = t; } int GetTexelWidth() { return Width; }