aboutsummaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
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 ca86f28c..3586b962 100644
--- a/src/render.c
+++ b/src/render.c
@@ -79,7 +79,7 @@ int16_t *render_get_image_binned(DisplayWindow *dw, int binning, int16_t *max)
hdf5_read(dw->hdfile, image);
dw->image_dirty = 0;
- clean_image(image);
+ if ( dw->clean ) clean_image(image);
/* Deal with the old image, if existing */
if ( dw->image != NULL ) {