aboutsummaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.c')
-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;
}