Browse Source

Fix build

Christophe Riccio 11 years ago
parent
commit
f09d1fd3d4
2 changed files with 3 additions and 1 deletions
  1. 2 0
      glm/gtc/integer.hpp
  2. 1 1
      test/gtc/gtc_integer.cpp

+ 2 - 0
glm/gtc/integer.hpp

@@ -41,7 +41,9 @@
 // Dependencies
 // Dependencies
 #include "../detail/setup.hpp"
 #include "../detail/setup.hpp"
 #include "../detail/precision.hpp"
 #include "../detail/precision.hpp"
+#include "../detail/_vectorize.hpp"
 #include "../vector_relational.hpp"
 #include "../vector_relational.hpp"
+#include "../common.hpp"
 #include <limits>
 #include <limits>
 
 
 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))

+ 1 - 1
test/gtc/gtc_integer.cpp

@@ -73,7 +73,7 @@ namespace isPowerOfTwo
 			{0x00000001, true},
 			{0x00000001, true},
 			{0x00000002, true},
 			{0x00000002, true},
 			{0x00000004, true},
 			{0x00000004, true},
-			{0xffffffff, true},
+			{0x0000000f, false},
 			{0x00000000, true},
 			{0x00000000, true},
 			{0x00000003, false}
 			{0x00000003, false}
 		};
 		};