]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Update and micro-optimise memory allocation
authorbones_was_here <bones_was_here@xonotic.au>
Thu, 25 Jan 2024 06:25:48 +0000 (16:25 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Mon, 29 Jan 2024 15:27:10 +0000 (01:27 +1000)
commitfa06dd40f48b20d738b6bd604758c81defd76cfd
treed68bfd0214536f09a0cbfd6504a7703b264a8466
parentb2ff187803aa089f3e995e1034a6c6b67b197467
Update and micro-optimise memory allocation

The max alignment requirement no longer needs to be hard-coded.
We were allocating slightly more than necessary for alignment padding.
Makes a (currently unused) macro more useful and robust.
Fixes bitfield data type.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
zone.c
zone.h