summaryrefslogtreecommitdiff
path: root/src/gui/view.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/gui/view.cpp
parent8ae8c85e9d3806cdb726e07f37e1b49484c5c48e (diff)
perf profiler, simplify 2d render, string struct, many small things
Diffstat (limited to 'src/gui/view.cpp')
-rw-r--r--src/gui/view.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/view.cpp b/src/gui/view.cpp
index da470e7..d053f99 100644
--- a/src/gui/view.cpp
+++ b/src/gui/view.cpp
@@ -1,6 +1,7 @@
#include "base.h"
+#include "../util/profiler.h"
-void gui_view_draw_fn( void* ptr ) {
+void gui_view_draw_fn( void* ptr ) { _profiled
GUI_VIEW* view = (GUI_VIEW*)ptr;
I32 x = gui_relx( view );