diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2022-05-31 21:21:23 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2022-05-31 21:21:23 -0400 |
commit | 23f14a87adac16acf9ee8bc1df2e6cd025ef86e3 (patch) | |
tree | 72405f1f2a7add43edb10bc03fb8931d22be63d3 /include/glm/detail | |
parent | 75d919eee490fa28827c5a453aca196496c57d4b (diff) |
clean up build processrefactor
Diffstat (limited to 'include/glm/detail')
-rw-r--r-- | include/glm/detail/type_half.inl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/glm/detail/type_half.inl b/include/glm/detail/type_half.inl index b9f9f0e..23173d7 100644 --- a/include/glm/detail/type_half.inl +++ b/include/glm/detail/type_half.inl @@ -39,7 +39,8 @@ namespace detail { GLM_FUNC_QUALIFIER float overflow() { - volatile float f = 1e10; + // tcsullivan: Remove volatile for C++20 + /*volatile*/ float f = 1e10; for(int i = 0; i < 10; ++i) f *= f; // this will overflow before the for loop terminates |