This commit is contained in:
tTh 2023-07-06 10:54:18 +02:00
parent 0e00e00df5
commit 0169fbade7

View File

@ -396,6 +396,8 @@ if (fi->type != FIMG_TYPE_RGB) {
return; return;
} }
nbre = fi->width * fi->height; nbre = fi->width * fi->height;
// fprintf(stderr, "%s: %d pixels\n", __func__, nbre);
for (idx=0; idx<nbre; idx++) { for (idx=0; idx<nbre; idx++) {
fi->R[idx] = drand48() * kmul; fi->R[idx] = drand48() * kmul;
fi->G[idx] = drand48() * kmul; fi->G[idx] = drand48() * kmul;