TheAssemblyArmada / Thyme

An open source re-implementation of Generals : Zero Hour written in C++.
GNU General Public License v2.0
584 stars 59 forks source link

Fix game pools with __SANITIZE_ADDRESS__ #1161

Closed xezon closed 1 month ago

xezon commented 1 month ago

This change fixes game pools with __SANITIZE_ADDRESS__.

Before, textures would just render black in w3dview tool. Unclear why exactly, but this change reinstates game pools and replaces the pool allocator with malloc and free.

Textures render normally now.