summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-10-31 08:19:52 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-31 22:01:40 +0100
commite696bef863ba4cc21a36cbfdc0d6e811060916f7 (patch)
tree7eb0f9fc7b92892fd4f740ddd4f8b9167863076f /src/gui
parent24733dea6c5c5500d3c01fcfa46c2b05d7557b47 (diff)
Fix compilation with QT_COORD_TYPE=double on ARM
Add a missing template specialization in the neon drawhelper. Task-number: QTBUG-33781 Change-Id: Iec02a93aee9403dc1275c32436db5527585b1088 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/painting/qdrawhelper_neon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qdrawhelper_neon.cpp b/src/gui/painting/qdrawhelper_neon.cpp
index b12fd71563..541b3ef619 100644
--- a/src/gui/painting/qdrawhelper_neon.cpp
+++ b/src/gui/painting/qdrawhelper_neon.cpp
@@ -964,6 +964,7 @@ public:
union Vect_buffer_i { Int32x4 v; int i[4]; };
union Vect_buffer_f { Float32x4 v; float f[4]; };
+ static inline Float32x4 v_dup(double x) { return vdupq_n_f32(float(x)); }
static inline Float32x4 v_dup(float x) { return vdupq_n_f32(x); }
static inline Int32x4 v_dup(int x) { return vdupq_n_s32(x); }
static inline Int32x4 v_dup(uint x) { return vdupq_n_s32(x); }