aboutsummaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-01-08 14:55:13 +0100
committerThomas White <taw@physics.org>2010-01-08 14:55:13 +0100
commita374cdb2396659d711f85851cb0904ccf7c9731d (patch)
tree5b63c80820293aa5b25c805352dc2c928a5f9a30 /src/render.c
parented795ee42e10c2fc3176d960a5c8b8ea29d3ea8a (diff)
Small fixes
Diffstat (limited to 'src/render.c')
-rw-r--r--src/render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render.c b/src/render.c
index e2412e96..4de441f3 100644
--- a/src/render.c
+++ b/src/render.c
@@ -19,6 +19,7 @@
#include <stdint.h>
#include "hdf5-file.h"
+#include "render.h"
/* Set to 1 to measure mean intensity in a rectangle */
#define MEASURE_INT 0
@@ -80,6 +81,7 @@
if ( val > max ) p = 0.0; \
r = 255.0*p; g = 255.0*p; b = 255.0*p;
+
/* NB This function is shared between render_get_image() and
* render_get_colour_scale() */
static void render_free_data(guchar *data, gpointer p)