Redesigned constexpr support which requires disable GLM SIMD on Visual C++ #783
This commit is contained in:
@@ -76,10 +76,8 @@ int test_vec1_size()
|
||||
Error += glm::vec1::length() == 1 ? 0 : 1;
|
||||
Error += glm::dvec1::length() == 1 ? 0 : 1;
|
||||
|
||||
# if GLM_HAS_CONSTEXPR_PARTIAL
|
||||
constexpr std::size_t Length = glm::vec1::length();
|
||||
GLM_CONSTEXPR_CXX11 std::size_t Length = glm::vec1::length();
|
||||
Error += Length == 1 ? 0 : 1;
|
||||
# endif
|
||||
|
||||
return Error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user