summaryrefslogtreecommitdiffstats
path: root/libdimension/texture.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-08 16:10:40 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-08 16:10:40 -0500
commita76d4f1fb96633e7f348ba6aa0c14b726e15e28e (patch)
treeaae8f28d884e7beca4441524c3a981c8340fde4f /libdimension/texture.c
parent1ae277f2094a21d93b1460bf466ff657201310c2 (diff)
downloaddimension-a76d4f1fb96633e7f348ba6aa0c14b726e15e28e.tar.xz
Add quick_color to pigments.
Diffstat (limited to 'libdimension/texture.c')
-rw-r--r--libdimension/texture.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libdimension/texture.c b/libdimension/texture.c
index 9305f46..00b8682 100644
--- a/libdimension/texture.c
+++ b/libdimension/texture.c
@@ -26,9 +26,11 @@ dmnsn_pigment *
dmnsn_new_pigment()
{
dmnsn_pigment *pigment = dmnsn_malloc(sizeof(dmnsn_pigment));
- pigment->init_fn = NULL;
- pigment->free_fn = NULL;
- pigment->trans = dmnsn_identity_matrix();
+ pigment->pigment_fn = NULL;
+ pigment->init_fn = NULL;
+ pigment->free_fn = NULL;
+ pigment->trans = dmnsn_identity_matrix();
+ pigment->quick_color = dmnsn_black;
return pigment;
}