summaryrefslogtreecommitdiffstats
path: root/libdimension/pigment.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/pigment.c')
-rw-r--r--libdimension/pigment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/pigment.c b/libdimension/pigment.c
index ed0e10f..a1b4fb7 100644
--- a/libdimension/pigment.c
+++ b/libdimension/pigment.c
@@ -44,7 +44,7 @@ dmnsn_delete_pigment(dmnsn_pigment *pigment)
{
if (pigment) {
if (pigment->free_fn) {
- (*pigment->free_fn)(pigment->ptr);
+ pigment->free_fn(pigment->ptr);
}
dmnsn_free(pigment);
}
@@ -55,7 +55,7 @@ void
dmnsn_initialize_pigment(dmnsn_pigment *pigment)
{
if (pigment->initialize_fn) {
- (*pigment->initialize_fn)(pigment);
+ pigment->initialize_fn(pigment);
}
pigment->trans_inv = dmnsn_matrix_inverse(pigment->trans);