From a76d4f1fb96633e7f348ba6aa0c14b726e15e28e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 8 Nov 2010 16:10:40 -0500 Subject: Add quick_color to pigments. --- libdimension/texture.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libdimension/texture.c') 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; } -- cgit v1.2.3