This commit is contained in:
tTh 2023-07-06 10:54:18 +02:00
parent 0e00e00df5
commit 0169fbade7
1 changed files with 2 additions and 0 deletions

View File

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