This commit is contained in:
tTh 2023-05-29 22:02:15 +02:00
parent 1d356a6f12
commit 67cb70fa3b

View File

@ -160,6 +160,8 @@ for (pass=0; pass<szimg/32; pass++) {
return 0;
}
/* -------------------------------------------------------------- */
int random_blocks(FloatImg *picture, int percent)
{
int x, y;
@ -168,6 +170,7 @@ if ( (picture->width%16) || (picture->height%16) )
{
fprintf(stderr, "%s: %d%d bad dims\n", __func__,
picture->width, picture->height);
return -1;
}
for (y=0; y<picture->height; y+=16) {