aboutsummaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-01-22 19:08:59 +0100
committerThomas White <taw@physics.org>2010-01-22 19:08:59 +0100
commitff058ff39185d3e4eb2f5737d23f074475c6589c (patch)
tree07862c28e217aff889956f7fabbf4a47a30bffdf /src/render.c
parent65cd846deb5a284d6473d2ab394ac7f0d79d5930 (diff)
Saturate to bright, not dark
Diffstat (limited to 'src/render.c')
-rw-r--r--src/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render.c b/src/render.c
index 5b47775f..e3fec53d 100644
--- a/src/render.c
+++ b/src/render.c
@@ -111,7 +111,7 @@ int16_t *render_get_image_binned(DisplayWindow *dw, int binning, int16_t *max)
\
if ( (val < 0.0) || (val > max) ) { \
s = 0; \
- p = 0.0; \
+ p = 1.0; \
} \
switch ( s ) { \
case 0 : { /* Black to blue */ \