aboutsummaryrefslogtreecommitdiff
path: root/src/scene/scene_memory.c
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-07-02 08:49:48 -0700
committer3gg <3gg@shellblade.net>2025-07-02 08:49:48 -0700
commitdba3ce51eeab2485f757143ab7560e89590824b8 (patch)
tree29abe8afa0e4e4b80ef288cb51ac4b38961915ea /src/scene/scene_memory.c
parent394e0c03bc892be6d3a6ddc5209f1cb284e3f38e (diff)
Add comments and TODOs
Diffstat (limited to 'src/scene/scene_memory.c')
-rw-r--r--src/scene/scene_memory.c2
1 files changed, 1 insertions, 1 deletions
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() {
73 mempool_make(&mem.skeletons); 73 mempool_make(&mem.skeletons);
74 74
75 // Allocate dummy objects at index 0 to guarantee that no objects allocated by 75 // Allocate dummy objects at index 0 to guarantee that no objects allocated by
76 // the caller map to index 0. 76 // the caller map to index 0. This allows 0 to be used as a sentinel.
77 ALLOC_DUMMY(&mem.animas); 77 ALLOC_DUMMY(&mem.animas);
78 ALLOC_DUMMY(&mem.animations); 78 ALLOC_DUMMY(&mem.animations);
79 ALLOC_DUMMY(&mem.cameras); 79 ALLOC_DUMMY(&mem.cameras);