loading scene from file
This commit is contained in:
parent
8554b33cd6
commit
024349a59f
7 changed files with 44 additions and 29 deletions
8
main.c
8
main.c
|
|
@ -8,13 +8,13 @@
|
|||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
||||
if (argc == 2) {
|
||||
kubo_file_parse(argv[1]);
|
||||
}
|
||||
|
||||
struct kubo_context context;
|
||||
kubo_context_init(&context);
|
||||
|
||||
if (argc == 2) {
|
||||
context = kubo_file_parse(argv[1]);
|
||||
}
|
||||
|
||||
kubo_window_init();
|
||||
|
||||
while (!kubo_window_should_close(&context)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue