summaryrefslogtreecommitdiffstats
path: root/libdimension/point_light.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-04-03 21:30:15 -0400
committerTavian Barnes <tavianator@gmail.com>2011-04-03 21:30:15 -0400
commit5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802 (patch)
tree2b642b87d97ab13b050e1ef9323725c0bbd5b5c6 /libdimension/point_light.c
parent7bc2770af08e317b2076540050c68d2de55a11db (diff)
downloaddimension-5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802.tar.xz
Don't use awkward (*fptr)() syntax.
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;