mirror of
https://github.com/g-truc/glm.git
synced 2024-11-16 06:44:35 +00:00
Use the type BUGGY_VC32BITS workaround for VC2013.
This prevents alignment errors in the gli project.
This commit is contained in:
parent
f9535f2398
commit
149bcf414e
@ -52,7 +52,7 @@ namespace detail
|
|||||||
typedef T type[4];
|
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
|
# if (GLM_ARCH & GLM_ARCH_SSE2) && GLM_NOT_BUGGY_VC32BITS
|
||||||
template <>
|
template <>
|
||||||
|
Loading…
Reference in New Issue
Block a user