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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/gltf.c b/src/resources/gltf.c
index dcb3d96..46ad4f3 100644
--- a/src/resources/gltf.c
+++ b/src/resources/gltf.c
@@ -380,7 +380,7 @@ bool model_load_gltf_str(const char *file_string, const char *filepath, str8 rel
geometry_data *geometry = malloc(sizeof(geometry_data));
geometry->format = VERTEX_STATIC_3D;
- geometry->colour = vec3(1, 1, 1);
+ geometry->colour = (rgba){ 1, 1, 1, 1 };
geometry->vertices = geo_vertices;
geometry->indices = geo_indices;
geometry->has_indices = has_indices;