Browse Source

Fix intrinsics test

christophe 10 months ago
parent
commit
97995f4713
1 changed files with 3 additions and 1 deletions
  1. 3 1
      test/core/core_force_intrinsics.cpp

+ 3 - 1
test/core/core_force_intrinsics.cpp

@@ -1,4 +1,6 @@
-#define GLM_FORCE_INTRINSICS
+#ifndef GLM_FORCE_INTRINSICS
+#	define GLM_FORCE_INTRINSICS
+#endif//GLM_FORCE_INTRINSICS
 #define GLM_FORCE_SWIZZLE
 #define GLM_FORCE_SWIZZLE
 #include <glm/ext/scalar_constants.hpp>
 #include <glm/ext/scalar_constants.hpp>
 #include <glm/ext/vector_relational.hpp>
 #include <glm/ext/vector_relational.hpp>