summaryrefslogtreecommitdiffstats
path: root/libdimension/gradient.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/gradient.c')
-rw-r--r--libdimension/gradient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/gradient.c b/libdimension/gradient.c
index b6ee935..ed20b63 100644
--- a/libdimension/gradient.c
+++ b/libdimension/gradient.c
@@ -44,8 +44,8 @@ dmnsn_new_gradient_pattern(dmnsn_vector orientation)
dmnsn_vector *payload = dmnsn_malloc(sizeof(dmnsn_vector));
*payload = dmnsn_vector_normalize(orientation);
- gradient->pattern_fn = &dmnsn_gradient_pattern_fn;
- gradient->free_fn = &dmnsn_free;
+ gradient->pattern_fn = dmnsn_gradient_pattern_fn;
+ gradient->free_fn = dmnsn_free;
gradient->ptr = payload;
return gradient;