diff --git a/glm/detail/func_common_simd.inl b/glm/detail/func_common_simd.inl index 818bb1f5..e775fab5 100644 --- a/glm/detail/func_common_simd.inl +++ b/glm/detail/func_common_simd.inl @@ -553,7 +553,7 @@ namespace glm { GLM_FUNC_QUALIFIER static vec<4, float, Q> call(vec<3, float, Q> const& a) { vec<4, float, Q> v; - static const uint32x4_t mask = { 0, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }; + static const uint32x4_t mask = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0 }; v.data = vbslq_f32(mask, a.data, vdupq_n_f32(0)); return v; }