forked from tTh/FloatImg
added "extern" to verbosity
This commit is contained in:
parent
e46f54a8fc
commit
1b2355f046
@ -10,7 +10,7 @@
|
||||
|
||||
#include "../floatimg.h"
|
||||
|
||||
int verbosity;
|
||||
extern int verbosity;
|
||||
|
||||
/* ---------------------------------------------------------------- */
|
||||
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;
|
||||
|
||||
picsize = d->width * d->height;
|
||||
|
||||
for (idx=0; idx<picsize; idx++) {
|
||||
d->R[idx] = (coef * s1->R[idx]) + ((1.0-coef) * s2->R[idx]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user