aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-12-12 15:32:55 -0800
committerThomas White <taw@physics.org>2012-02-22 15:27:09 +0100
commit20b8402e76ceb0741098b30660391bcccddeae5b (patch)
treec4317425d9dd720875dc1b9f8fa50e5a1e84cf37 /src
parent2b99d940b4d56d973b379a329b6303af43488b17 (diff)
SPOT for image size
Diffstat (limited to 'src')
-rw-r--r--src/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render.c b/src/render.c
index 60ca78d6..daf0551a 100644
--- a/src/render.c
+++ b/src/render.c
@@ -208,8 +208,8 @@ float *render_get_image_binned(DisplayWindow *dw, int binning, float *max)
}
- data = render_bin(dw->image->data, hdfile_get_width(dw->hdfile),
- hdfile_get_height(dw->hdfile), binning, max);
+ data = render_bin(dw->image->data, dw->image->width, dw->image->height,
+ binning, max);
return data;
}