summaryrefslogtreecommitdiff
path: root/palettes.c
diff options
context:
space:
mode:
Diffstat (limited to 'palettes.c')
-rw-r--r--palettes.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/palettes.c b/palettes.c
index cf76003..32bef52 100644
--- a/palettes.c
+++ b/palettes.c
@@ -184,8 +184,9 @@ int flam3_get_palette(int n, flam3_palette c, double hue_rotation, randctx * con
c[i].index = i;
- c[i].color = rgb;
-
+ c[i].color[0] = rgb[0];
+ c[i].color[1] = rgb[1];
+ c[i].color[2] = rgb[2];
c[i].color[3] = 1.0;
}