aboutsummaryrefslogtreecommitdiff
path: root/src/readpng.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/readpng.c')
-rw-r--r--src/readpng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readpng.c b/src/readpng.c
index 68a92c3..20fc182 100644
--- a/src/readpng.c
+++ b/src/readpng.c
@@ -141,7 +141,7 @@ int readpng_read(const char *filename, double tilt, ControlContext *ctx) {
png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
fclose(fh);
- control_add_image_cl(ctx, image, width, height, tilt, ctx->omega, ctx->camera_length);
+ control_add_image(ctx, image, width, height, tilt);
return 0;