Fixed build error #524

This commit is contained in:
Christophe Riccio 2016-07-16 15:57:49 +02:00
parent 61e8432634
commit 46cd601681

View File

@ -686,7 +686,7 @@ namespace detail
template <typename T, precision P>
GLM_FUNC_QUALIFIER tvec4<T, P> operator-(tvec1<T, P> const & v1, tvec4<T, P> const & v2)
{
return tvec4<T, P>(v1) -= v2;
return tvec4<T, P>(v1.x) -= v2;
}
template <typename T, precision P>