diff --git a/glm/gtc/quaternion.inl b/glm/gtc/quaternion.inl index 951b62c4..6422cf6b 100644 --- a/glm/gtc/quaternion.inl +++ b/glm/gtc/quaternion.inl @@ -255,7 +255,7 @@ namespace detail template struct compute_dot { - static T call(tquat const & x, tquat const & y) + static GLM_FUNC_QUALIFIER T call(tquat const & x, tquat const & y) { tvec4 tmp(x.x * y.x, x.y * y.y, x.z * y.z, x.w * y.w); return (tmp.x + tmp.y) + (tmp.z + tmp.w);