loading scene from file

This commit is contained in:
Luka Jankovic 2025-07-25 15:30:08 +02:00
parent 8554b33cd6
commit 024349a59f
7 changed files with 44 additions and 29 deletions

View file

@ -105,7 +105,8 @@ struct kubo_wall *kubo_context_get_pending_wall(struct kubo_context *context) {
}
}
struct kubo_wall *wall = kubo_wall_init();
struct kubo_wall *wall = malloc(sizeof(struct kubo_wall));
kubo_wall_init(wall);
kubo_wall_arr_add(&context->walls, wall);
return wall;