Fix render memory alignment issues to prevent crashes on Android

This commit is contained in:
Wojtek Figat
2025-09-06 23:36:54 +02:00
parent 857b0c5ac3
commit 44e70692a2
6 changed files with 32 additions and 21 deletions

View File

@@ -201,6 +201,9 @@ API_ENUM() enum class ArchitectureType
#ifndef PLATFORM_THREADS_LIMIT
#define PLATFORM_THREADS_LIMIT 64
#endif
#ifndef PLATFORM_MEMORY_ALIGNMENT
#define PLATFORM_MEMORY_ALIGNMENT 16
#endif
#define PLATFORM_32BITS (!PLATFORM_64BITS)
// Platform family defines