From 1334d968220553a76de2cd67f4eb28d6da20c764 Mon Sep 17 00:00:00 2001 From: le vieux Date: Sun, 15 Nov 2020 20:57:52 +0100 Subject: [PATCH] open a ticket ? --- funcs/rampes.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/funcs/rampes.c b/funcs/rampes.c index 1680b0d5..491b68b7 100644 --- a/funcs/rampes.c +++ b/funcs/rampes.c @@ -21,7 +21,6 @@ if (FIMG_TYPE_RGB != img->type) { fprintf(stderr, "%s bad type\n", __func__); return -6; } - for (x=0; xwidth; x++) { value = (float)x / (float)img->width; @@ -34,6 +33,9 @@ for (x=0; xwidth; x++) return 0; } /* --------------------------------------------------------------------- */ +/* + * wtf ? ther's no way to have the black at the bottom ? + */ int fimg_vdeg_a(FloatImg *img, double dcoef) { int x, y; @@ -47,7 +49,6 @@ if (FIMG_TYPE_RGB != img->type) { fprintf(stderr, "%s bad type\n", __func__); return -6; } - for (y=0; yheight; y++) { value = (float)y / (float)img->height;