From ce96b51ca49225896a3f6c90e7c1d97742c4f50a Mon Sep 17 00:00:00 2001 From: tonton th Date: Sat, 26 Dec 2020 10:39:50 +0100 Subject: [PATCH] oups... --- Fonderie/glitches.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Fonderie/glitches.c b/Fonderie/glitches.c index 393c453..3df039f 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