summaryrefslogtreecommitdiff
path: root/src/resources/obj.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-06-10 13:35:23 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-06-10 13:35:23 +1000
commit99f2476d7bb8479d543f080c209324c77c775737 (patch)
tree8c8f52155552fb7c9ade94e70f5f11d36fa73701 /src/resources/obj.c
parentb9a7166d9a7e2b0eed948353c134e72dfa86ab58 (diff)
bring back gltf
Diffstat (limited to 'src/resources/obj.c')
-rw-r--r--src/resources/obj.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/resources/obj.c b/src/resources/obj.c
index 19d8657..f95398a 100644
--- a/src/resources/obj.c
+++ b/src/resources/obj.c
@@ -64,8 +64,9 @@ model_handle model_load_obj(core *core, const char *path, bool invert_textures_y
ERROR_EXIT("Load fails are considered crash-worthy right now. This will change later.\n");
}
- u32 index = model_darray_len(core->models);
- model_darray_push(core->models, model);
+// FIXME
+ // u32 index = model_darray_len(core->models);
+ // model_darray_push(core->models, model);
arena_free_all(&scratch);
arena_free_storage(&scratch);