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

Comparing ray/src/px/pinterp.c (file contents):
Revision 2.28 by greg, Mon Jun 24 09:17:47 1996 UTC vs.
Revision 2.29 by gregl, Wed Jul 9 11:23:07 1997 UTC

# Line 1169 | Line 1169 | clearqueue()                           /* process queue */
1169          }
1170                                          /* mark end and get results */
1171          bzero((char *)fbp, 6*sizeof(float));
1172 <        if (process(PDesc, fbuf, fbuf, 4*sizeof(float)*queuesiz,
1172 >        if (process(PDesc, fbuf, fbuf, 4*sizeof(float)*(queuesiz+1),
1173                          6*sizeof(float)*(queuesiz+1)) !=
1174 <                        4*sizeof(float)*queuesiz) {
1174 >                        4*sizeof(float)*(queuesiz+1)) {
1175                  fprintf(stderr, "%s: error reading from rtrace process\n",
1176                                  progname);
1177                  exit(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines