From dba3ce51eeab2485f757143ab7560e89590824b8 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Wed, 2 Jul 2025 08:49:48 -0700 Subject: Add comments and TODOs --- src/scene/scene_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scene/scene_memory.c') diff --git a/src/scene/scene_memory.c b/src/scene/scene_memory.c index d1d81a9..91880bb 100644 --- a/src/scene/scene_memory.c +++ b/src/scene/scene_memory.c @@ -73,7 +73,7 @@ void scene_mem_init() { mempool_make(&mem.skeletons); // Allocate dummy objects at index 0 to guarantee that no objects allocated by - // the caller map to index 0. + // the caller map to index 0. This allows 0 to be used as a sentinel. ALLOC_DUMMY(&mem.animas); ALLOC_DUMMY(&mem.animations); ALLOC_DUMMY(&mem.cameras); -- cgit v1.2.3