summaryrefslogtreecommitdiff
path: root/src/resources/gltf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/gltf.c')
-rw-r--r--src/resources/gltf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/gltf.c b/src/resources/gltf.c
index f136595..c51e30d 100644
--- a/src/resources/gltf.c
+++ b/src/resources/gltf.c
@@ -377,9 +377,9 @@ bool model_load_gltf_str(const char *file_string, const char *filepath, str8 rel
geometry->vertices = geo_vertices;
geometry->indices = geo_indices;
geometry->has_indices = has_indices;
-
+
mesh m = mesh_create(geometry, true);
- m.material_index = (u32_opt){.has_value = mat_idx == 9999, .value = mat_idx };
+ m.material_index = (u32_opt){ .has_value = mat_idx == 9999, .value = mat_idx };
mesh_darray_push(out_model->meshes, m);
}