summaryrefslogtreecommitdiff
path: root/src/editor/editor_infobox.cpp
diff options
context:
space:
mode:
authoraura <nw@moneybot.cc>2026-03-10 01:35:50 +0100
committeraura <nw@moneybot.cc>2026-03-10 01:35:50 +0100
commit8329d42d3e592f4cd42cdfa586e2325ddc76c898 (patch)
treedec7e2a733bfc6b6384936c1f3ed067a42b59bb9 /src/editor/editor_infobox.cpp
parent8ae8c85e9d3806cdb726e07f37e1b49484c5c48e (diff)
perf profiler, simplify 2d render, string struct, many small things
Diffstat (limited to 'src/editor/editor_infobox.cpp')
-rw-r--r--src/editor/editor_infobox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editor/editor_infobox.cpp b/src/editor/editor_infobox.cpp
index 8e455d9..931d9ea 100644
--- a/src/editor/editor_infobox.cpp
+++ b/src/editor/editor_infobox.cpp
@@ -150,9 +150,9 @@ static void gui_editor_infobox_draw_fn( void* ptr ) {
ALIGN_R,
FNT_JPN12,
ui_clr.txt,
- "fps: %.3f (%.5f ms) %dx%d",
+ "fps: %.0f (%.2f ms) %dx%d",
gl->fps,
- gl->frametime,
+ gl->frametime * 1000.f,
gl->canvas_size[0],
gl->canvas_size[1]
);