Browse Source

Fixed `error C3861: 'Lv': identifier not found`
This diagnostic occurred in the compiler generated function 'glm::vec<1,T,Q> &glm::vec<1,T,Q>::operator |=(const glm::vec<1,A,Q> &)'

jakubtyrcha 4 years ago
parent
commit
318d7f2398
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/detail/type_vec1.inl

+ 1 - 1
glm/detail/type_vec1.inl

@@ -234,7 +234,7 @@ namespace glm
 	template<typename U>
 	GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<1, T, Q> & vec<1, T, Q>::operator|=(vec<1, U, Q> const& v)
 	{
-		this->x |= U(v.x);
+		this->x |= static_cast<T>(v.x);
 		return *this;
 	}