From 8383472bbe337abf5cc8d3914248bbb724ae826b Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Tue, 21 Jul 2026 22:57:00 +0200 Subject: [PATCH] stdafx: Only use GLM_FORCE_DEFAULT_ALIGNED_GENTYPES on MSVC (#136) It causes the game to crash on launch while attempting to use SIMD instructions when compiled with GCC or Clang. Since it's known to work on MSVC and was enabled due to performance improvement, leave it enabled there. --- stdafx.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdafx.h b/stdafx.h index c3ba0716..19a374e7 100644 --- a/stdafx.h +++ b/stdafx.h @@ -98,7 +98,9 @@ #define GLM_ENABLE_EXPERIMENTAL #define GLM_FORCE_CTOR_INIT #define GLM_FORCE_INLINE +#ifdef _MSC_VER #define GLM_FORCE_DEFAULT_ALIGNED_GENTYPES +#endif #define GLM_FORCE_INTRINSICS #include #include