mirror of
https://github.com/g-truc/glm.git
synced 2024-11-22 08:54:35 +00:00
Removed useless GLM_FORCE_ALIGNED_GENTYPES
This commit is contained in:
parent
d97e4c2483
commit
0fb8b56f63
@ -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
|
||||
|
@ -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)
|
||||
|
@ -1,5 +1,3 @@
|
||||
#define GLM_FORCE_ALIGNED_GENTYPES
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/ext.hpp>
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define GLM_FORCE_ALIGNED_GENTYPES
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#if GLM_USE_ALIGNED_GENTYPES == GLM_ENABLE
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define GLM_FORCE_ALIGNED_GENTYPES
|
||||
#define GLM_ENABLE_EXPERIMENTAL
|
||||
#include <glm/glm.hpp>
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user