mirror of
https://github.com/g-truc/glm.git
synced 2025-04-13 08:43:00 +00:00
Suppress struct-padding warning on vec3s with GLM_CONFIG_ALIGNED_GENTYPES + GLM_CONFIG_SILENT_WARNINGS
This commit is contained in:
parent
7d527af1ec
commit
eaca81874f
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,9 @@ namespace glm
|
|||
# elif GLM_COMPILER & GLM_COMPILER_VC
|
||||
# pragma warning(push)
|
||||
# pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union
|
||||
# if GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE
|
||||
# pragma warning(disable: 4324) // structure was padded due to alignment specifier
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue