test/sandbox.c

changeset 32
86468a71dd73
parent 29
1d001eb694dc
equal deleted inserted replaced
31:8324037e0148 32:86468a71dd73
67 if (asc_context.elapsed_millis > 0) { 67 if (asc_context.elapsed_millis > 0) {
68 unsigned fps = 1000u / asc_context.elapsed_millis; 68 unsigned fps = 1000u / asc_context.elapsed_millis;
69 if (fps != last_fps) { 69 if (fps != last_fps) {
70 last_fps = fps; 70 last_fps = fps;
71 snprintf(fps_counter->text, 9, "%u FPS", fps); 71 snprintf(fps_counter->text, 9, "%u FPS", fps);
72 asc_text_update(fps_counter); 72 asc_node_update(fps_counter);
73 } 73 }
74 } 74 }
75 } while (asc_loop_next()); 75 } while (asc_loop_next());
76 76
77 asc_context_destroy(); 77 asc_context_destroy();

mercurial