diff --git a/glm/detail/type_vec4.inl b/glm/detail/type_vec4.inl index 8f7f7e9a..00320835 100644 --- a/glm/detail/type_vec4.inl +++ b/glm/detail/type_vec4.inl @@ -686,7 +686,7 @@ namespace detail template GLM_FUNC_QUALIFIER tvec4 operator-(tvec1 const & v1, tvec4 const & v2) { - return tvec4(v1) -= v2; + return tvec4(v1.x) -= v2; } template