mirror of
https://github.com/g-truc/glm.git
synced 2025-04-10 15:23:53 +00:00
Add message when GLM_FORCE_DEFAULT_ALIGNED_GENTYPES is defined and enabled
This commit is contained in:
parent
6f6f4d3ae8
commit
fd00b057da
1 changed files with 7 additions and 3 deletions
|
@ -1035,9 +1035,13 @@ namespace detail
|
|||
# pragma message("GLM: GLM_FORCE_ALIGNED_GENTYPES is defined but is disabled. It requires C++11 and language extensions")
|
||||
# endif
|
||||
|
||||
# if defined(GLM_FORCE_DEFAULT_ALIGNED_GENTYPES) && (GLM_CONFIG_ALIGNED_GENTYPES == GLM_DISABLE)
|
||||
# undef GLM_FORCE_DEFAULT_ALIGNED_GENTYPES
|
||||
# pragma message("GLM: GLM_FORCE_DEFAULT_ALIGNED_GENTYPES is defined but is disabled. It requires C++11 and language extensions")
|
||||
# if defined(GLM_FORCE_DEFAULT_ALIGNED_GENTYPES)
|
||||
# if GLM_CONFIG_ALIGNED_GENTYPES == GLM_DISABLE
|
||||
# undef GLM_FORCE_DEFAULT_ALIGNED_GENTYPES
|
||||
# pragma message("GLM: GLM_FORCE_DEFAULT_ALIGNED_GENTYPES is defined but is disabled. It requires C++11 and language extensions.")
|
||||
# elif GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE
|
||||
# pragma message("GLM: GLM_FORCE_DEFAULT_ALIGNED_GENTYPES is defined. All gentypes (e.g. vec3) will be aligned and padded by default.")
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# if GLM_CONFIG_CLIP_CONTROL & GLM_CLIP_CONTROL_ZO_BIT
|
||||
|
|
Loading…
Add table
Reference in a new issue