summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-05-07 08:10:03 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-05-10 11:19:22 +0200
commite8f83186825966232900cf7c70ac88134cbdf0cd (patch)
tree95401ee8e3827909bd16d08b5f0317deb40354bb
parent6ccd173d52f639bf95d82760fb9c3c1943b660d1 (diff)
pose-widget: projected pixel overflow isn'n an issue
-rw-r--r--pose-widget/pose-widget.cpp4
1 files changed, 2 insertions, 2 deletions
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;