added "extern" to verbosity

This commit is contained in:
tonton Th 2020-01-22 18:15:29 +01:00
parent e46f54a8fc
commit 1b2355f046

View File

@ -10,7 +10,7 @@
#include "../floatimg.h" #include "../floatimg.h"
int verbosity; extern int verbosity;
/* ---------------------------------------------------------------- */ /* ---------------------------------------------------------------- */
static int gray_interpolate(FloatImg *s1, FloatImg *s2, FloatImg *d, float coef) static int gray_interpolate(FloatImg *s1, FloatImg *s2, FloatImg *d, float coef)
@ -18,7 +18,6 @@ static int gray_interpolate(FloatImg *s1, FloatImg *s2, FloatImg *d, float coef)
int picsize, idx; int picsize, idx;
picsize = d->width * d->height; picsize = d->width * d->height;
for (idx=0; idx<picsize; idx++) { for (idx=0; idx<picsize; idx++) {
d->R[idx] = (coef * s1->R[idx]) + ((1.0-coef) * s2->R[idx]); d->R[idx] = (coef * s1->R[idx]) + ((1.0-coef) * s2->R[idx]);
} }