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

Comparing ray/src/rt/rv3.c (file contents):
Revision 2.30 by greg, Tue Sep 16 21:14:11 2008 UTC vs.
Revision 2.31 by greg, Wed Dec 3 06:57:48 2008 UTC

# Line 224 | Line 224 | paint(                 /* compute and paint a rectangle */
224                          flushintvl = nproc*niflush/(ambounce+1);
225                  else
226                          flushintvl = nproc*WFLUSH/(ambounce+1);
227 +                if (lastflush > counter)
228 +                        lastflush = 0;          /* counter wrapped */
229  
230                  if (counter - lastflush >= flushintvl) {
231                          lastflush = counter;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines