killed a bug

This commit is contained in:
tth 2020-07-24 13:45:17 +02:00
parent 3849485c02
commit be3338eb5f

View File

@ -51,8 +51,9 @@ for (x=0; x<fimg->width; x++) {
val = ((double)x / (double)fimg->width) * dval;
for (y=0; y<20; y++) {
fimg_plot_rgb(fimg, x, k+y, val, val, val);
fimg_plot_rgb(fimg, x, k+y+20, 1-val, 1-val, 1-val);
fimg_plot_rgb(fimg, x, k+y+20, dval-val, dval-val, dval-val);
}
// fprintf(stderr, " %6d %f\n", x, val);
}