summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.c b/main.c
index 61ed4d9..ce9999f 100644
--- a/main.c
+++ b/main.c
@@ -19,10 +19,10 @@
#include <string.h>
#include <stdbool.h>
#include <stdlib.h>
+#include <unistd.h>
#include <argp.h>
#include "random.h"
-#include "private.h"
#include "img.h"
#include "rect.h"
#include "math.h"
@@ -131,8 +131,7 @@ static void do_render (const render_arguments * const arguments) {
bucket.samples, bucket.badvals);
render_image (genome, &bucket, image, bytes_per_channel);
- flam3_img_comments fpc;
- write_png (stdout, image, genome->width, genome->height, &fpc,
+ write_png (stdout, image, genome->width, genome->height,
bytes_per_channel);
}