unwind cache -> callstack cache

This commit is contained in:
Ryan Fleury
2025-05-14 15:28:57 -07:00
parent 81483f5100
commit 60e47fb821
3 changed files with 57 additions and 54 deletions
+2
View File
@@ -56,9 +56,11 @@ dmn_w32_entity_alloc(DMN_W32_Entity *parent, DMN_W32_EntityKind kind, U64 id)
// rjf: allocate
DMN_W32_Entity *e = dmn_w32_shared->entities_first_free;
{
U32 gen = 0;
if(e != 0)
{
SLLStackPop(dmn_w32_shared->entities_first_free);
gen = e->gen;
}
else
{