Removed useless GLM_FORCE_ALIGNED_GENTYPES

This commit is contained in:
Christophe Riccio
2018-07-31 14:28:14 +02:00
parent d97e4c2483
commit 0fb8b56f63
5 changed files with 2 additions and 6 deletions

View File

@@ -585,7 +585,7 @@ namespace glm
///////////////////////////////////////////////////////////////////////////////////
// Configure the use of aligned gentypes
#if defined(GLM_FORCE_ALIGNED_GENTYPES) && GLM_HAS_ALIGNOF && (GLM_LANG & GLM_LANG_CXXMS_FLAG)
#if GLM_HAS_ALIGNOF && (GLM_LANG & GLM_LANG_CXXMS_FLAG)
# define GLM_USE_ALIGNED_GENTYPES GLM_ENABLE
#else
# define GLM_USE_ALIGNED_GENTYPES GLM_DISABLE

View File

@@ -13,7 +13,7 @@
#pragma once
#if !GLM_USE_ANONYMOUS_STRUCT
# error "GLM: Aligned gentypes require to enable C++ language extensions and to define GLM_FORCE_ALIGNED_GENTYPES before including GLM headers."
# error "GLM: Aligned gentypes require to enable C++ language extensions."
#endif
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)