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

Comparing ray/src/rt/rxtrace.cpp (file contents):
Revision 2.3 by greg, Tue Apr 30 23:16:23 2024 UTC vs.
Revision 2.4 by greg, Wed May 1 22:06:09 2024 UTC

# Line 250 | Line 250 | rtrace(                                /* trace rays from stdin or file */
250          if (vcount)
251                  error(WARNING, feof(inpfp) ? "unexpected EOF on input" :
252                                  "input read error");
253 <        if (fflush(stdout) < 0)
254 <                error(SYSTEM, "write error");
253 >        if (myRTmanager.FlushQueue() < 0 || fflush(stdout) < 0)
254 >                error(SYSTEM, "final flush error");
255          if (fname != NULL) {
256                  fclose(inpfp);
257                  inpfp = NULL;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines