summaryrefslogtreecommitdiffhomepage
path: root/pose-widget
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-08-11 06:35:52 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-08-11 06:36:02 +0200
commit7b6627bb4769ada62c0b632cd72db9d0f0f74406 (patch)
treea40a984e1eb74800e1860aa56c37065080ea7b11 /pose-widget
parent9161646a6ed0b84770c9645689b98b2d4a2dfb82 (diff)
pose-widget: we no longer warn on narrowing conversions
Diffstat (limited to 'pose-widget')
-rwxr-xr-xpose-widget/glwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pose-widget/glwidget.cpp b/pose-widget/glwidget.cpp
index d6d5260e..8a90c37c 100755
--- a/pose-widget/glwidget.cpp
+++ b/pose-widget/glwidget.cpp
@@ -167,7 +167,7 @@ void GLWidget::project_quad_texture() {
for (int y = 0; y < sy; y++)
for (int x = 0; x < sx; x++) {
- vec2 pos({(num)x, (num)y});
+ vec2 pos({x, y});
for (int i = 0; i < 2; i++) {
vec2 uv;
if (triangles[i].barycentric_coords(pos, uv))