From f39dcbdf9be53c9e7a1fd17dbc3123b61bfacb19 Mon Sep 17 00:00:00 2001 From: rexim Date: Tue, 11 Jun 2024 00:36:31 +0700 Subject: [PATCH] Reset rendering arena --- src/plug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plug.c b/src/plug.c index f2ff496..d3d624c 100644 --- a/src/plug.c +++ b/src/plug.c @@ -1828,6 +1828,7 @@ static void rendering_screen(void) fft_push(buffer[i*channels + 0]); p->wave_cursor += 1; } + arena_reset(&p->rendering_arena); } size_t m = fft_analyze(1.0f/RENDER_FPS);