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

Comparing ray/src/rt/rpict.c (file contents):
Revision 2.50 by gwlarson, Mon Apr 13 14:01:08 1998 UTC vs.
Revision 2.51 by gwlarson, Wed Jun 17 13:29:55 1998 UTC

# Line 348 | Line 348 | FILE  *fp;
348   render(zfile, oldfile)                          /* render the scene */
349   char  *zfile, *oldfile;
350   {
351        extern long  lseek();
351          COLOR  *scanbar[MAXDIV+1];      /* scanline arrays of pixel values */
352          float  *zbar[MAXDIV+1];         /* z values */
353          char  *sampdens;                /* previous sample density */
# Line 401 | Line 400 | char  *zfile, *oldfile;
400          if (i >= vres)
401                  goto alldone;
402          if (zfd != -1 && i > 0 &&
403 <                        lseek(zfd, (long)i*hres*sizeof(float), 0) == -1)
403 >                        lseek(zfd, (long)i*hres*sizeof(float), 0) < 0)
404                  error(SYSTEM, "z-file seek error in render");
405          pctdone = 100.0*i/vres;
406          if (ralrm > 0)                  /* report init stats */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines