summaryrefslogtreecommitdiff
path: root/src/fps.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2021-10-01 16:35:08 -0700
committerVito Caputo <vcaputo@pengaru.com>2021-10-01 16:35:08 -0700
commitb686b405c6a22b26e9b8082c92ed91513608bea3 (patch)
tree0000f671501863a8ee9b536ba869221d0f6710f9 /src/fps.c
parentd1da5500261e96efe0ede06fbebb32f0e191f3c1 (diff)
*: librototiller->libtil
Largely mechanical rename of librototiller -> libtil, but introducing a til_ prefix to all librototiller (now libtil) functions and types where a rototiller prefix was absent. This is just a step towards a more libized librototiller, and til is just a nicer to type/read prefix than rototiller_.
Diffstat (limited to 'src/fps.c')
-rw-r--r--src/fps.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fps.c b/src/fps.c
index 57f67a7..30b65cf 100644
--- a/src/fps.c
+++ b/src/fps.c
@@ -2,8 +2,8 @@
#include <stdio.h>
#include <sys/time.h>
-#include "fb.h"
-#include "util.h"
+#include "til_fb.h"
+#include "til_util.h"
static int print_fps;
@@ -36,7 +36,7 @@ int fps_setup(void)
}
-void fps_print(fb_t *fb)
+void fps_print(til_fb_t *fb)
{
#ifdef __WIN32__
@@ -46,7 +46,7 @@ void fps_print(fb_t *fb)
if (!print_fps)
return;
- fb_get_put_pages_count(fb, &n);
+ til_fb_get_put_pages_count(fb, &n);
printf("FPS: %u\n", n);
print_fps = 0;
© All Rights Reserved