From 4c21b2ea8d42a92e2f1cbfd93346ff77041ea44d Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 1 Mar 2015 20:51:37 +0100 Subject: Fix colormap segfault The segfaults due to unaligned vector access should have happened before the recent changes. Not sure why it worked before. Reverts colormap vectorization. This is going to be restored once I rework the colormaps. --- flam3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flam3.h') diff --git a/flam3.h b/flam3.h index ac8278d..7129eee 100644 --- a/flam3.h +++ b/flam3.h @@ -41,7 +41,7 @@ char *flam3_version(); //typedef double flam3_palette[256][3]; typedef struct { double index; - double4 color; + double color[4]; } flam3_palette_entry; typedef flam3_palette_entry flam3_palette[256]; -- cgit v1.2.3