ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/raypwin.c
(Generate patch)

Comparing ray/src/rt/raypwin.c (file contents):
Revision 2.2 by greg, Sat Feb 9 00:17:51 2008 UTC vs.
Revision 2.3 by greg, Mon Feb 11 21:17:25 2008 UTC

# 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines