summaryrefslogtreecommitdiffstats
path: root/libdimension/csg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/csg.c')
-rw-r--r--libdimension/csg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdimension/csg.c b/libdimension/csg.c
index 05f0b60..caecee0 100644
--- a/libdimension/csg.c
+++ b/libdimension/csg.c
@@ -32,12 +32,10 @@ dmnsn_csg_cascade(const dmnsn_object *csg, dmnsn_object *object)
{
if (!object->texture && csg->texture) {
object->texture = csg->texture;
- ++*object->texture->refcount;
}
if (!object->interior && csg->interior) {
object->interior = csg->interior;
- ++*object->interior->refcount;
}
object->trans = dmnsn_matrix_mul(csg->trans, object->trans);