diff options
Diffstat (limited to 'src/resources/gltf.c')
-rw-r--r-- | src/resources/gltf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/gltf.c b/src/resources/gltf.c index 69ae9e1..56d5660 100644 --- a/src/resources/gltf.c +++ b/src/resources/gltf.c @@ -50,10 +50,10 @@ ModelHandle model_load_gltf(const char *path, bool invert_texture_y) { const char *file_string = string_from_file(path); ModelHandle handle; - // Model *model = model_pool_alloc(&g_core.models, &handle); - // model->name = str8_cstr_view(path); - // model->meshes = mesh_darray_new(1); - // model->materials = material_darray_new(1); + Model *model = Model_pool_alloc(&g_core.models, &handle); + model->name = Str8_cstr_view(path); + model->meshes = Mesh_darray_new(1); + model->materials = Material_darray_new(1); // bool success = // model_load_gltf_str(file_string, path, relative_path.path, model, invert_texture_y); |