diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-04-03 21:30:15 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-04-03 21:30:15 -0400 |
commit | 5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802 (patch) | |
tree | 2b642b87d97ab13b050e1ef9323725c0bbd5b5c6 /libdimension/phong.c | |
parent | 7bc2770af08e317b2076540050c68d2de55a11db (diff) | |
download | dimension-5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802.tar.xz |
Don't use awkward (*fptr)() syntax.
Diffstat (limited to 'libdimension/phong.c')
-rw-r--r-- | libdimension/phong.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/phong.c b/libdimension/phong.c index 09dd599..3fc154f 100644 --- a/libdimension/phong.c +++ b/libdimension/phong.c @@ -61,8 +61,8 @@ dmnsn_new_phong_finish(double specular, double exp) params[1] = exp; finish->ptr = params; - finish->specular_fn = &dmnsn_phong_specular_fn; - finish->free_fn = &dmnsn_free; + finish->specular_fn = dmnsn_phong_specular_fn; + finish->free_fn = dmnsn_free; return finish; } |