| # | Line 28 | Line 28 | ray_pinit( /* initialize ray-tracing processes */ | |
|---|---|---|
| 28 | int nproc | |
| 29 | ) | |
| 30 | { | |
| 31 | – | if (nproc > 1) |
| 32 | – | error(WARNING, "Only single process supported"); |
| 31 | ray_pdone(0); | |
| 32 | ray_init(otnm); | |
| 33 | ray_popen(nproc); | |
| # | Line 70 | Line 68 | ray_presult( /* check for a completed ray */ | |
| 68 | { | |
| 69 | if (r == NULL) | |
| 70 | return(0); | |
| 71 | < | if (!poll & (ray_pnidle <= 0)) { |
| 71 | > | if (ray_pnidle <= 0) { |
| 72 | ray_value(&queued_ray); | |
| 73 | *r = queued_ray; | |
| 74 | ray_pnidle = 1; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |