summaryrefslogtreecommitdiff
path: root/palettes.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-02-28 16:25:00 +0100
committerLars-Dominik Braun <lars@6xq.net>2015-05-02 21:36:45 +0200
commit1523c065c8d1a25417c08b45fc299d6743cd7fc3 (patch)
treeda85f49ad58ba730369c16d1d426cdeaf1c04ef5 /palettes.c
parent6ffe578b7d07e0236dc286465946a9869495ab7f (diff)
downloadpucket-1523c065c8d1a25417c08b45fc299d6743cd7fc3.tar.gz
pucket-1523c065c8d1a25417c08b45fc299d6743cd7fc3.tar.bz2
pucket-1523c065c8d1a25417c08b45fc299d6743cd7fc3.zip
Drop progress printing from rendering thread
Diffstat (limited to 'palettes.c')
-rw-r--r--palettes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/palettes.c b/palettes.c
index 77f3142..f73bd24 100644
--- a/palettes.c
+++ b/palettes.c
@@ -18,6 +18,7 @@
#include "private.h"
#include "palettes.h"
+#include "rect.h"
lib_palette *the_palettes = NULL;
int npalettes;
@@ -372,7 +373,6 @@ static double try_colors(flam3_genome *g, int color_resolution) {
// g->pixels_per_unit = 50;
f.bytes_per_channel=1;
- f.verbose = 0;
f.genomes = g;
f.ngenomes = 1;
f.earlyclip = 1;
@@ -382,7 +382,7 @@ static double try_colors(flam3_genome *g, int color_resolution) {
f.sub_batch_size = 10000;
image = (unsigned char *) calloc(g->width * g->height, 3);
- if (flam3_render(&f, image, &stats)) {
+ if (render_parallel (&f, image, &stats)) {
fprintf(stderr,"Error rendering test image for trycolors. Aborting.\n");
return(-1);
}