Use the type BUGGY_VC32BITS workaround for VC2013.

This prevents alignment errors in the gli project.
This commit is contained in:
Jules Blok 2015-08-09 13:53:32 +02:00
parent f9535f2398
commit 149bcf414e

View File

@ -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 <>