summaryrefslogtreecommitdiff
path: root/flam3.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-03-01 20:51:37 +0100
committerLars-Dominik Braun <lars@6xq.net>2015-05-02 21:36:45 +0200
commit4c21b2ea8d42a92e2f1cbfd93346ff77041ea44d (patch)
tree32b955a06368886d4df77c0e2bfb53ef137580ef /flam3.h
parent4d2d896e28446928d820bf1353abcf40e3f66ed8 (diff)
downloadpucket-4c21b2ea8d42a92e2f1cbfd93346ff77041ea44d.tar.gz
pucket-4c21b2ea8d42a92e2f1cbfd93346ff77041ea44d.tar.bz2
pucket-4c21b2ea8d42a92e2f1cbfd93346ff77041ea44d.zip
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.
Diffstat (limited to 'flam3.h')
-rw-r--r--flam3.h2
1 files changed, 1 insertions, 1 deletions
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];