From a62c9d12f49781bbd416d82a7742a0a8eb3d36d3 Mon Sep 17 00:00:00 2001 From: combolek <4743344+combolek@users.noreply.github.com> Date: Sat, 25 Jul 2026 18:12:34 -0700 Subject: [PATCH] Disable GLM_FORCE_DEFAULT_ALIGNED_GENTYPES to fix graphics corruption This is a regression introduced in 7525b54f (merged via df5a8a89), GLM_FORCE_DEFAULT_ALIGNED_GENTYPES causes visible screen corruption, particularly in the smoke from chimneys or vehicles. --- betterRenderer/CMakeLists.txt | 1 - stdafx.h | 1 - 2 files changed, 2 deletions(-) diff --git a/betterRenderer/CMakeLists.txt b/betterRenderer/CMakeLists.txt index 1bd30675..d28c7b55 100644 --- a/betterRenderer/CMakeLists.txt +++ b/betterRenderer/CMakeLists.txt @@ -71,7 +71,6 @@ target_compile_definitions(${LIBMANUL_NAME} PRIVATE GLM_FORCE_SWIZZLE GLM_FORCE_CTOR_INIT GLM_FORCE_INLINE - GLM_FORCE_DEFAULT_ALIGNED_GENTYPES GLM_FORCE_INTRINSICS) target_compile_definitions(${LIBMANUL_NAME} PRIVATE diff --git a/stdafx.h b/stdafx.h index b1e94b51..f2b37719 100644 --- a/stdafx.h +++ b/stdafx.h @@ -99,7 +99,6 @@ #define GLM_FORCE_CTOR_INIT #ifdef _MSC_VER #define GLM_FORCE_INLINE -#define GLM_FORCE_DEFAULT_ALIGNED_GENTYPES #endif #define GLM_FORCE_INTRINSICS #include