push as is, half baked broken twn_models.c

This commit is contained in:
veclavtalica
2025-02-14 19:51:34 +03:00
parent 0df0a9226f
commit f81c583319
10 changed files with 460 additions and 49 deletions

View File

@ -685,6 +685,7 @@ static bool initialize(void) {
profile_start("texture and text cache initialization");
textures_cache_init(&ctx.texture_cache, ctx.window);
text_cache_init(&ctx.text_cache);
models_state_init();
profile_end("texture and text cache initialization");
return true;
@ -706,7 +707,7 @@ static void clean_up(void) {
toml_free(ctx.config_table);
PHYSFS_deinit();
workers_deinit();
model_state_deinit();
models_state_deinit();
SDL_free(ctx.base_dir);
SDL_free(ctx.title);
SDL_GL_DeleteContext(ctx.gl_context);