diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-12-12 15:32:55 -0800 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:09 +0100 |
commit | 20b8402e76ceb0741098b30660391bcccddeae5b (patch) | |
tree | c4317425d9dd720875dc1b9f8fa50e5a1e84cf37 /src/render.c | |
parent | 2b99d940b4d56d973b379a329b6303af43488b17 (diff) |
SPOT for image size
Diffstat (limited to 'src/render.c')
-rw-r--r-- | src/render.c | 4 |
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; } |