Added backward compatibility with GLM_FORCE_ALIGNED, replaced by GLM_FORCE_DEFAULT_ALIGNED_GENTYPES

This commit is contained in:
Christophe Riccio 2018-08-27 23:29:09 +02:00
parent 7c445ee93d
commit e12d724143

View file

@ -735,6 +735,10 @@ namespace detail
///////////////////////////////////////////////////////////////////////////////////
// Configure the use of aligned gentypes
#ifdef GLM_FORCE_ALIGNED // Legacy define
# define GLM_FORCE_DEFAULT_ALIGNED_GENTYPES
#endif
#if GLM_HAS_ALIGNOF && (GLM_LANG & GLM_LANG_CXXMS_FLAG)
# define GLM_CONFIG_ALIGNED_GENTYPES GLM_ENABLE
#else