From 8329d42d3e592f4cd42cdfa586e2325ddc76c898 Mon Sep 17 00:00:00 2001 From: aura Date: Tue, 10 Mar 2026 01:35:50 +0100 Subject: perf profiler, simplify 2d render, string struct, many small things --- src/gui/base.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/base.cpp') diff --git a/src/gui/base.cpp b/src/gui/base.cpp index 5d345d8..1e8a493 100644 --- a/src/gui/base.cpp +++ b/src/gui/base.cpp @@ -38,7 +38,7 @@ void gui_end() { void gui_draw( GAME_DATA* game ) { _gui.gl2d = game->shaders.gl2d; - _gui.gl2d_font = game->shaders.gl2d_texcoord; + _gui.gl2d_font = game->shaders.gl2d; _gui.windows.each( fn( GUI_WINDOW** w ) { GUI_WINDOW* wnd = *w; @@ -58,7 +58,7 @@ void gui_input( GAME_DATA* game ) { } } -void gui_onframe( GAME_DATA* game ) { +void gui_onframe( GAME_DATA* game ) { _profiled gui_run_callbacks(); gui_input( game ); -- cgit v1.2.3