426 |
|
doneSamples |= sampMap; // samples now done or at least queued |
427 |
|
sp2 -= layer++ & 1; // next denser sampling |
428 |
|
} |
429 |
< |
if (FlushQueue() < 0) // make sure we got everyone |
429 |
> |
if (FlushQueue() < 0) // compute stragglers |
430 |
|
return false; |
431 |
– |
x = y = 0; |
432 |
– |
if (doneMap.Find(&x, &y, false)) { |
433 |
– |
sprintf(errmsg, "missed %.4f%% of pixels in rectangle\n", |
434 |
– |
100. - 100.*doneMap.SumTotal() / |
435 |
– |
doneMap.Width() / doneMap.Height()); |
436 |
– |
error(WARNING, errmsg); |
437 |
– |
} |
431 |
|
if ((prCB != NULL) & (barPix == NULL)) |
432 |
|
(*prCB)(100.); |
433 |
|
return true; |