summaryrefslogtreecommitdiffstats
path: root/libdimension/pigment.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/pigment.c')
-rw-r--r--libdimension/pigment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/pigment.c b/libdimension/pigment.c
index c518005..bc09ec7 100644
--- a/libdimension/pigment.c
+++ b/libdimension/pigment.c
@@ -35,8 +35,8 @@ dmnsn_new_pigment(void)
pigment->free_fn = NULL;
pigment->trans = dmnsn_identity_matrix();
pigment->quick_color = DMNSN_TCOLOR(dmnsn_black);
- pigment->refcount = 1;
pigment->initialized = false;
+ DMNSN_REFCOUNT_INIT(pigment);
return pigment;
}