aboutsummaryrefslogtreecommitdiff
path: root/dc/dc.c
diff options
context:
space:
mode:
Diffstat (limited to 'dc/dc.c')
-rw-r--r--dc/dc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dc/dc.c b/dc/dc.c
index 66fbf1c..74c0ea3 100644
--- a/dc/dc.c
+++ b/dc/dc.c
@@ -65,8 +65,10 @@ void tick(void)
double frame_time = ty_get_time() - last_frame;
last_frame = ty_get_time();
+ tyui_layout((float[]){0.25, 0});
tyui_text("%.2g ms", frame_time * 1000);
tyui_text("%.2d fps", (int)(1.0 / frame_time));
+ tyui_layout(NULL);
tyui_text("%d", (int)ty_get_time());
tyui_text("abcdefghijklmnopqrstuvwxyz");
tyui_text("ABCDEFGHIJKLMNOPQRSTUVWXYZ");