diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-05-31 14:08:36 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-05-31 14:13:38 -0400 |
commit | c42fd6547afed0b65260ae6a8a07cf9dcf084b67 (patch) | |
tree | d0cf947f8b7a2c4ae0e5f6151da3ff656f663f57 /libdimension/phong.c | |
parent | c10255ab3da17507d63bdc7e1fdfc809ffd32f7f (diff) | |
download | dimension-c42fd6547afed0b65260ae6a8a07cf9dcf084b67.tar.xz |
finish: Use pool.
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 bbf521d..3536f45 100644 --- a/libdimension/phong.c +++ b/libdimension/phong.c @@ -56,9 +56,9 @@ dmnsn_phong_specular_fn(const dmnsn_specular *specular, /* A phong finish */ dmnsn_specular * -dmnsn_new_phong(double coeff, double exp) +dmnsn_new_phong(dmnsn_pool *pool, double coeff, double exp) { - dmnsn_phong *phong = DMNSN_MALLOC(dmnsn_phong); + dmnsn_phong *phong = DMNSN_PALLOC(pool, dmnsn_phong); phong->coeff = coeff; phong->exp = exp; |