Browse Source

Updated SSE error message

Christophe Riccio 15 years ago
parent
commit
8f700a05ef
1 changed files with 5 additions and 5 deletions
  1. 5 5
      glm/gtx/simd_mat4.hpp

+ 5 - 5
glm/gtx/simd_mat4.hpp

@@ -17,13 +17,13 @@
 // Dependency:
 #include "../glm.hpp"
 
-#if(!(GLM_ARCH & GLM_ARCH_SSE2))
-#error "GLM: GLM_GTX_simd_mat4 requires compiler support of SSE2 through intrinsics"
+#if(GLM_ARCH & GLM_ARCH_SSE2)
+#	include "../core/intrinsic_matrix.hpp"
+#	include "../gtx/simd_vec4.hpp"
+#else
+#	error "GLM: GLM_GTX_simd_mat4 requires compiler support of SSE2 through intrinsics"
 #endif
 
-#include "../core/intrinsic_matrix.hpp"
-#include "../gtx/simd_vec4.hpp"
-
 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
 #	pragma message("GLM: GLM_GTX_simd_mat4 extension included")
 #endif