forked from tTh/FloatImg
oups...
This commit is contained in:
parent
1d356a6f12
commit
67cb70fa3b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user