16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-09-01 13:59:19 +02:00

Enable GLM_FORCE_INLINE only for MSVC compiler

Fixes compilation under gcc 15
This commit is contained in:
2026-07-24 12:53:55 +02:00
committed by GitHub
parent 8383472bbe
commit 8399f55e53

View File

@@ -97,8 +97,8 @@
#define GLM_FORCE_SWIZZLE
#define GLM_ENABLE_EXPERIMENTAL
#define GLM_FORCE_CTOR_INIT
#define GLM_FORCE_INLINE
#ifdef _MSC_VER
#define GLM_FORCE_INLINE
#define GLM_FORCE_DEFAULT_ALIGNED_GENTYPES
#endif
#define GLM_FORCE_INTRINSICS
@@ -132,4 +132,4 @@ using packed_vec3 = glm::vec<3, float, glm::packed_highp>;
#include "utilities/crashreporter.h"
#endif
#endif