From 04d2a7df47210f7ac4b9a44ade49af3d92375ee0 Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 22 Feb 2024 01:10:22 +0200 Subject: GuiGetFont fix. --- src/state.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/state.c') 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 ) ); -- cgit v1.2.3