summaryrefslogtreecommitdiffstats
path: root/libdimension/light.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/light.c')
-rw-r--r--libdimension/light.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/light.c b/libdimension/light.c
index 358ba2d..d64b2a2 100644
--- a/libdimension/light.c
+++ b/libdimension/light.c
@@ -36,7 +36,7 @@ dmnsn_new_light(void)
light->shadow_fn = NULL;
light->free_fn = NULL;
light->ptr = NULL;
- light->refcount = 1;
+ DMNSN_REFCOUNT_INIT(light);
return light;
}