--- a/test/sandbox.c Mon Dec 18 19:04:44 2023 +0100 +++ b/test/sandbox.c Mon Dec 18 19:05:30 2023 +0100 @@ -67,7 +67,7 @@ unsigned fps = 1000u / asc_context.elapsed_millis; if (fps != last_fps) { last_fps = fps; - cxBufferClear(&fps_counter->text); + cxBufferReset(&fps_counter->text); cx_bprintf(&fps_counter->text, "%u FPS", fps); asc_text_update(fps_counter); }