From e8f83186825966232900cf7c70ac88134cbdf0cd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 7 May 2017 08:10:03 +0200 Subject: pose-widget: projected pixel overflow isn'n an issue --- pose-widget/pose-widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pose-widget/pose-widget.cpp') diff --git a/pose-widget/pose-widget.cpp b/pose-widget/pose-widget.cpp index b511f4c5..c3e87dff 100644 --- a/pose-widget/pose-widget.cpp +++ b/pose-widget/pose-widget.cpp @@ -270,8 +270,8 @@ void pose_transform::project_quad_texture() return; } - for (int y = 1; y < sy; y++) - for (int x = 1; x < sx; x++) + for (int y = 0; y < sy; y++) + for (int x = 0; x < sx; x++) { vec2 pos(x, y); vec2 uv; -- cgit v1.2.3