From 318d7f239838fd36ba14e9df986dd90c86034346 Mon Sep 17 00:00:00 2001 From: jakubtyrcha Date: Sat, 18 Sep 2021 19:26:01 +0100 Subject: [PATCH] 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> &)' --- glm/detail/type_vec1.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/detail/type_vec1.inl b/glm/detail/type_vec1.inl index c5883ceb..2d17e6bd 100644 --- a/glm/detail/type_vec1.inl +++ b/glm/detail/type_vec1.inl @@ -234,7 +234,7 @@ namespace glm template 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(v.x); return *this; }