This commit is contained in:
Christophe 2024-01-18 12:59:14 +01:00
parent 0cda1615b3
commit bfb88b1360

View file

@ -17,6 +17,11 @@ struct vec2
#if defined(_MSC_VER)
# pragma warning(push)
# pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union
#endif
#if GLM_COMPILER & GLM_COMPILER_CLANG
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wgnu-anonymous-struct"
# pragma clang diagnostic ignored "-Wnested-anon-types"
#endif
union
@ -25,6 +30,9 @@ struct vec2
struct { _swizzle xx; };
};
#if GLM_COMPILER & GLM_COMPILER_CLANG
# pragma clang diagnostic pop
#endif
#if defined(_MSC_VER)
# pragma warning(pop)
#endif