mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-09-01 06:59:18 +02:00
Enable GLM_FORCE_INLINE only for MSVC compiler
Fixes compilation under gcc 15
This commit is contained in:
4
stdafx.h
4
stdafx.h
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user