mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +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
@ -35,6 +35,9 @@ namespace glm
|
|||||||
# elif GLM_COMPILER & GLM_COMPILER_VC
|
# elif GLM_COMPILER & GLM_COMPILER_VC
|
||||||
# pragma warning(push)
|
# pragma warning(push)
|
||||||
# pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union
|
# 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
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user