diff options
Diffstat (limited to 'libdimension/texture.c')
-rw-r--r-- | libdimension/texture.c | 8 |
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; } |