summaryrefslogtreecommitdiffhomepage
path: root/pose-widget
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-18 16:42:07 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-18 16:42:07 +0200
commitcd5e1d7b9309eaf7fd546e98ce7f4312a81e107f (patch)
tree9a3db7a92e039befedf27d45b24e3b4160be0e7c /pose-widget
parentc318a7f682d1d355b834a656ecde8c62ab521338 (diff)
pose-widget: fix build
Diffstat (limited to 'pose-widget')
-rw-r--r--pose-widget/pose-widget.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/pose-widget/pose-widget.cpp b/pose-widget/pose-widget.cpp
index aaa6bd36..9bc08def 100644
--- a/pose-widget/pose-widget.cpp
+++ b/pose-widget/pose-widget.cpp
@@ -175,9 +175,6 @@ bool Triangle::barycentric_coords(const vec2& px, vec2& uv, int& i) const
return u >= 0 && v >= 0 && u + v <= 1;
}
-#if defined __GNUG__
-__attribute__((optimize("unroll-loops")))
-#endif
void pose_transform::project_quad_texture()
{
image.fill(Qt::transparent);