Closed tuupola closed 2 years ago
fps_instance_t fps; fps_init(&fps); ... while (1) { render_scene(); hagl_flush(display); fps_update(&fps); printf("%f fps\r\n", fps.current); };
You can also reset the counter back to zero.
fps_reset(&fps);
You can also reset the counter back to zero.