summaryrefslogtreecommitdiffstats
path: root/libdimension/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/object.c')
-rw-r--r--libdimension/object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/object.c b/libdimension/object.c
index 3896037..dda80f0 100644
--- a/libdimension/object.c
+++ b/libdimension/object.c
@@ -54,7 +54,7 @@ dmnsn_delete_object(dmnsn_object *object)
dmnsn_delete_interior(object->interior);
dmnsn_delete_texture(object->texture);
if (object->free_fn) {
- (*object->free_fn)(object->ptr);
+ object->free_fn(object->ptr);
}
dmnsn_free(object);
}
@@ -73,7 +73,7 @@ dmnsn_initialize_object(dmnsn_object *object)
}
if (object->initialize_fn) {
- (*object->initialize_fn)(object);
+ object->initialize_fn(object);
}
object->bounding_box