diff options
| author | aura <nw@moneybot.cc> | 2026-03-10 01:35:50 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-03-10 01:35:50 +0100 |
| commit | 8329d42d3e592f4cd42cdfa586e2325ddc76c898 (patch) | |
| tree | dec7e2a733bfc6b6384936c1f3ed067a42b59bb9 /src/gui/base.cpp | |
| parent | 8ae8c85e9d3806cdb726e07f37e1b49484c5c48e (diff) | |
perf profiler, simplify 2d render, string struct, many small things
Diffstat (limited to 'src/gui/base.cpp')
| -rw-r--r-- | src/gui/base.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |
