summaryrefslogtreecommitdiffstats
path: root/libdimension/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/object.c')
-rw-r--r--libdimension/object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdimension/object.c b/libdimension/object.c
index d4779dc..0556921 100644
--- a/libdimension/object.c
+++ b/libdimension/object.c
@@ -27,6 +27,7 @@ dmnsn_new_object()
{
dmnsn_object *object = malloc(sizeof(dmnsn_object));
if (object) {
+ object->texture = NULL;
object->trans = dmnsn_identity_matrix();
}
return object;