Mon, 18 Dec 2023 19:05:30 +0100
use new cxBufferReset function
test/sandbox.c | file | annotate | diff | comparison | revisions |
1.1 --- a/test/sandbox.c Mon Dec 18 19:04:44 2023 +0100 1.2 +++ b/test/sandbox.c Mon Dec 18 19:05:30 2023 +0100 1.3 @@ -67,7 +67,7 @@ 1.4 unsigned fps = 1000u / asc_context.elapsed_millis; 1.5 if (fps != last_fps) { 1.6 last_fps = fps; 1.7 - cxBufferClear(&fps_counter->text); 1.8 + cxBufferReset(&fps_counter->text); 1.9 cx_bprintf(&fps_counter->text, "%u FPS", fps); 1.10 asc_text_update(fps_counter); 1.11 }