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 // 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 # define GLM_USE_ALIGNED_GENTYPES GLM_ENABLE
#else #else
# define GLM_USE_ALIGNED_GENTYPES GLM_DISABLE # define GLM_USE_ALIGNED_GENTYPES GLM_DISABLE

View File

@ -13,7 +13,7 @@
#pragma once #pragma once
#if !GLM_USE_ANONYMOUS_STRUCT #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 #endif
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)

View File

@ -1,5 +1,3 @@
#define GLM_FORCE_ALIGNED_GENTYPES
#include <glm/glm.hpp> #include <glm/glm.hpp>
#include <glm/ext.hpp> #include <glm/ext.hpp>

View File

@ -1,4 +1,3 @@
#define GLM_FORCE_ALIGNED_GENTYPES
#include <glm/glm.hpp> #include <glm/glm.hpp>
#if GLM_USE_ALIGNED_GENTYPES == GLM_ENABLE #if GLM_USE_ALIGNED_GENTYPES == GLM_ENABLE

View File

@ -1,4 +1,3 @@
#define GLM_FORCE_ALIGNED_GENTYPES
#define GLM_ENABLE_EXPERIMENTAL #define GLM_ENABLE_EXPERIMENTAL
#include <glm/glm.hpp> #include <glm/glm.hpp>
/* /*