diff --git a/Fonderie/glitches.c b/Fonderie/glitches.c index 393c453c..3df039f1 100644 --- a/Fonderie/glitches.c +++ b/Fonderie/glitches.c @@ -100,7 +100,7 @@ int random_blocks(FloatImg *picture, int percent) { int x, y; -if ( (picture->width%16) || (picture->height%8) ) +if ( (picture->width%16) || (picture->height%16) ) { fprintf(stderr, "%s: %d%d bad dims\n", __func__, picture->width, picture->height); @@ -173,9 +173,7 @@ h = picz->height; w = picz->width; for (y=BB; yBB) && (x