From 8f700a05ef60177b0301cab7cc0e1257eab8c820 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Mon, 24 Jan 2011 16:01:40 +0000 Subject: [PATCH] Updated SSE error message --- glm/gtx/simd_mat4.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/glm/gtx/simd_mat4.hpp b/glm/gtx/simd_mat4.hpp index 442fbd41..b91c0e7c 100644 --- a/glm/gtx/simd_mat4.hpp +++ b/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