summaryrefslogtreecommitdiffstats
path: root/Smoke/colormap.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2007-12-20 01:34:35 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2007-12-20 01:34:35 (GMT)
commit4aabbced4987d0321827e4ae8bbd2e928205c9ba (patch)
treebad531cdacb7b4ce76e19f467e0c90677654c548 /Smoke/colormap.c
parentc087310ffc1618cac7d0100b5492794f5d03db20 (diff)
download2iv35-4aabbced4987d0321827e4ae8bbd2e928205c9ba.zip
2iv35-4aabbced4987d0321827e4ae8bbd2e928205c9ba.tar.gz
2iv35-4aabbced4987d0321827e4ae8bbd2e928205c9ba.tar.bz2
moved alpha value constant to each of their own classes;
flowvis now draws copy of frame
Diffstat (limited to 'Smoke/colormap.c')
-rw-r--r--Smoke/colormap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Smoke/colormap.c b/Smoke/colormap.c
index d9ede0f..bd3f3a9 100644
--- a/Smoke/colormap.c
+++ b/Smoke/colormap.c
@@ -143,6 +143,7 @@ struct color4f colormap_get_color(float value)
value = colormap_scaling ? remap(value) : value;
return_value = set_palette(colormap_colormap, value, colormap_num_colors);
+ return_value.a = 1.0f;
return return_value;
}