Browse Source

Update core_func_common.cpp

Giuseppe Barbieri 8 years ago
parent
commit
b2a1d7a293
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/core/core_func_common.cpp

+ 1 - 1
test/core/core_func_common.cpp

@@ -235,7 +235,7 @@ namespace floatBitsToUint
 		{
 		{
 			float A = 1.0f;
 			float A = 1.0f;
 			glm::uint B = glm::floatBitsToUint(A);
 			glm::uint B = glm::floatBitsToUint(A);
-			float C = glm::intBitsToFloat(B);
+			float C = glm::uintBitsToFloat(B);
 			Error += glm::epsilonEqual(A, C, 0.0001f) ? 0 : 1;
 			Error += glm::epsilonEqual(A, C, 0.0001f) ? 0 : 1;
 		}
 		}