From 648504907c9f62adc72628ae73a8c668ec1276c8 Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Fri, 29 May 2026 22:28:43 -0400 Subject: Generic arena allocator Also replaces the temp allocator behind the scenes --- editor/editor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editor/editor.c') diff --git a/editor/editor.c b/editor/editor.c index 53d24a3..efbee8b 100644 --- a/editor/editor.c +++ b/editor/editor.c @@ -78,10 +78,10 @@ int editor_main(void) while (ty_is_game_running()) { int ticks = ty_tick(); - for (int i = 0; i < ticks; i++) + for (int i = 0; i < ticks; i++) { tick(); - - ty_free_temp_allocs(); + ty_clear_temp_allocs(); + } } for (int i = 0; i < CHAR_MAX; i++) { -- cgit v1.3-2-g0d8e