From 149bcf414ea8918d1695bc2ea4a55f81223bc16e Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Sun, 9 Aug 2015 13:53:32 +0200 Subject: [PATCH] Use the type BUGGY_VC32BITS workaround for VC2013. This prevents alignment errors in the gli project. --- glm/detail/type_vec4.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/detail/type_vec4.hpp b/glm/detail/type_vec4.hpp index c2d9f60e..a39f5dde 100644 --- a/glm/detail/type_vec4.hpp +++ b/glm/detail/type_vec4.hpp @@ -52,7 +52,7 @@ namespace detail typedef T type[4]; }; -# define GLM_NOT_BUGGY_VC32BITS !(GLM_MODEL == GLM_MODEL_32 && (GLM_COMPILER & GLM_COMPILER_VC) && GLM_COMPILER < GLM_COMPILER_VC2013) +# define GLM_NOT_BUGGY_VC32BITS !(GLM_MODEL == GLM_MODEL_32 && (GLM_COMPILER & GLM_COMPILER_VC) && GLM_COMPILER < GLM_COMPILER_VC2015) # if (GLM_ARCH & GLM_ARCH_SSE2) && GLM_NOT_BUGGY_VC32BITS template <>