GuiGetFont fix.

This commit is contained in:
jussi
2024-02-22 01:10:22 +02:00
parent 178196b0ff
commit 04d2a7df47
8 changed files with 19 additions and 11 deletions

View File

@@ -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 ) );