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

Comparing ray/src/rt/rview.c (file contents):
Revision 2.11 by greg, Wed Aug 25 13:44:17 1993 UTC vs.
Revision 2.12 by greg, Tue Sep 7 16:11:12 1993 UTC

# Line 327 | Line 327 | rsample()                      /* sample the image */
327           * difference, we subsample the super-pixels.  The testing process
328           * includes initialization of the next row.
329           */
330 <        xsiz = (((pframe.r-pframe.l)<<pdepth)+hresolu-1) / hresolu;
331 <        ysiz = (((pframe.u-pframe.d)<<pdepth)+vresolu-1) / vresolu;
330 >        xsiz = (((long)(pframe.r-pframe.l)<<pdepth)+hresolu-1) / hresolu;
331 >        ysiz = (((long)(pframe.u-pframe.d)<<pdepth)+vresolu-1) / vresolu;
332          rl = (RECT *)malloc(xsiz*sizeof(RECT));
333          if (rl == NULL)
334                  return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines