Skip to content

Commit

Permalink
Reset rendering arena
Browse files Browse the repository at this point in the history
  • Loading branch information
rexim committed Jun 10, 2024
1 parent 3c10cfd commit f39dcbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f39dcbd

Please sign in to comment.