summaryrefslogtreecommitdiffstats
path: root/libdimension/point_light.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/point_light.c')
-rw-r--r--libdimension/point_light.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/point_light.c b/libdimension/point_light.c
index 2cbc5d9..8617791 100644
--- a/libdimension/point_light.c
+++ b/libdimension/point_light.c
@@ -42,8 +42,8 @@ dmnsn_new_point_light(dmnsn_vector x0, dmnsn_color color)
*ptr = color;
light->x0 = x0;
- light->light_fn = &dmnsn_point_light_fn;
- light->free_fn = &dmnsn_free;
+ light->light_fn = dmnsn_point_light_fn;
+ light->free_fn = dmnsn_free;
light->ptr = ptr;
return light;