summaryrefslogtreecommitdiffstats
path: root/libdimension/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/object.c')
-rw-r--r--libdimension/object.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libdimension/object.c b/libdimension/object.c
index ffb753f..a1b161e 100644
--- a/libdimension/object.c
+++ b/libdimension/object.c
@@ -45,9 +45,10 @@ dmnsn_new_object()
{
dmnsn_object *object = malloc(sizeof(dmnsn_object));
if (object) {
- object->texture = NULL;
- object->trans = dmnsn_identity_matrix();
- object->free_fn = NULL;
+ object->texture = NULL;
+ object->interior = NULL;
+ object->trans = dmnsn_identity_matrix();
+ object->free_fn = NULL;
}
return object;
}