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

Comparing ray/src/hd/rholo.c (file contents):
Revision 3.40 by gwlarson, Wed Jun 3 12:18:24 1998 UTC vs.
Revision 3.41 by gwlarson, Thu Oct 8 14:52:26 1998 UTC

# Line 504 | Line 504 | PACKET *pl;
504                  p->next = freepacks;            /* push onto free list */
505                  freepacks = p;
506          }
507 + #if MAXQTIME
508          if (n2flush > 300/MAXQTIME*totqlen) {
509 <                hdflush(NULL);                  /* flush holodeck buffers */
509 > #else
510 >        if (n2flush > 50*totqlen) {
511 > #endif
512 >                if (outdev == NULL)
513 >                        hdflush(NULL);          /* flush holodeck buffers */
514 >                else
515 >                        hdsync(NULL, 1);        /* sync holodeck file */
516                  n2flush = 0;
517          }
518   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines