summaryrefslogtreecommitdiff
path: root/external/glm/c++20.patch.0
blob: 34a40b5ef4c6ccac30811a9be1c4f52755c2b516 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- glm/detail/type_half.inl
+++ glm/detail/type_half.inl
@@ -6,7 +6,7 @@
 		volatile float f = 1e10;
 
 		for(int i = 0; i < 10; ++i)
-			f *= f; // this will overflow before the for loop terminates
+			f = f * f; // this will overflow before the for loop terminates
 		return f;
 	}