summaryrefslogtreecommitdiffstats
path: root/libdimension/solid_pigment.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-05-31 13:54:56 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-05-31 13:55:26 -0400
commitc10255ab3da17507d63bdc7e1fdfc809ffd32f7f (patch)
treede65eefb9152ebb049c2adbb8e2cf00abe09063e /libdimension/solid_pigment.c
parent70373204b341fc91694c0293796230e447c51067 (diff)
downloaddimension-c10255ab3da17507d63bdc7e1fdfc809ffd32f7f.tar.xz
pigment: Use pool.
Diffstat (limited to 'libdimension/solid_pigment.c')
-rw-r--r--libdimension/solid_pigment.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/solid_pigment.c b/libdimension/solid_pigment.c
index 7f91819..1f6cf6f 100644
--- a/libdimension/solid_pigment.c
+++ b/libdimension/solid_pigment.c
@@ -1,5 +1,5 @@
/*************************************************************************
- * Copyright (C) 2010-2011 Tavian Barnes <tavianator@tavianator.com> *
+ * Copyright (C) 2010-2014 Tavian Barnes <tavianator@tavianator.com> *
* *
* This file is part of The Dimension Library. *
* *
@@ -28,9 +28,9 @@
/* Create a solid color */
dmnsn_pigment *
-dmnsn_new_solid_pigment(dmnsn_tcolor color)
+dmnsn_new_solid_pigment(dmnsn_pool *pool, dmnsn_tcolor color)
{
- dmnsn_pigment *pigment = dmnsn_new_pigment();
+ dmnsn_pigment *pigment = dmnsn_new_pigment(pool);
pigment->quick_color = color;
return pigment;
}