more experiment...
This commit is contained in:
@@ -27,7 +27,7 @@ fprintf(stderr, ">>> %s ( %p %d )\n", __func__, pvictime, bits);
|
||||
|
||||
line = rand() % pvictime->height;
|
||||
|
||||
if (verbosity > 1) {
|
||||
if (verbosity > 2) {
|
||||
fprintf(stderr, "%s: try to kill line %d\n", __func__, line);
|
||||
}
|
||||
|
||||
@@ -52,9 +52,13 @@ int kill_a_few_lines(FloatImg *who, float fval, int number)
|
||||
{
|
||||
int idx, foo;
|
||||
|
||||
#if DEBUG_LEVEL
|
||||
fprintf(stderr, ">>> %s ( %p %f %d )\n", __func__, who, fval, number);
|
||||
#endif
|
||||
|
||||
/* Frag the pixels */
|
||||
for (idx=0; idx<number; idx++) {
|
||||
foo = kill_a_random_line(who, fval, rand() & 0x0f);
|
||||
foo = kill_a_random_line(who, fval, rand() & 0x07);
|
||||
if (foo) abort();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user