summaryrefslogtreecommitdiff
path: root/src/gui/base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/base.cpp')
-rw-r--r--src/gui/base.cpp4
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 );