summaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state.c b/src/state.c
index 37b4ddd..9df5d94 100644
--- a/src/state.c
+++ b/src/state.c
@@ -29,6 +29,7 @@ bool stateInit( int argn, const char** argc, const char* exePath ) {
state->run = luaInit( argn, argc );
}
state->defaultFont = GetFontDefault();
+ state->guiDefaultFont = GuiGetFont();
state->defaultMaterial = LoadMaterialDefault();
state->defaultTexture = (Texture){ 1, 1, 1, 1, 7 };
state->RLGLcurrentShaderLocs = malloc( RL_MAX_SHADER_LOCATIONS * sizeof( int ) );