loading scene from file
This commit is contained in:
parent
8554b33cd6
commit
024349a59f
7 changed files with 44 additions and 29 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue