summaryrefslogtreecommitdiffstats
path: root/libdimension/interior.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/interior.c')
-rw-r--r--libdimension/interior.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/interior.c b/libdimension/interior.c
index a8e328c..24797a6 100644
--- a/libdimension/interior.c
+++ b/libdimension/interior.c
@@ -31,9 +31,9 @@ dmnsn_interior *
dmnsn_new_interior(void)
{
dmnsn_interior *interior = dmnsn_malloc(sizeof(dmnsn_interior));
- interior->ior = 1.0;
- interior->free_fn = NULL;
- interior->refcount = 1;
+ interior->ior = 1.0;
+ interior->free_fn = NULL;
+ DMNSN_REFCOUNT_INIT(interior);
return interior;
}