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

Comparing ray/src/px/ximage.c (file contents):
Revision 1.22 by greg, Thu Jan 18 23:58:26 1990 UTC vs.
Revision 1.23 by greg, Fri Jan 26 08:17:43 1990 UTC

# Line 656 | Line 656 | register rgbpixel  *l3;
656          if (getscan(y) < 0)
657                  quiterr("cannot seek for picreadline");
658                                                          /* convert scanline */
659 <        if (scale)
660 <                for (i = 0; i < xmax; i++)
661 <                        if (scanline[i][EXP])
662 <                                scanline[i][EXP] += scale;
663 <        normcolrs(scanline, xmax);
659 >        normcolrs(scanline, xmax, scale);
660          for (i = 0; i < xmax; i++) {
661                  l3[i].r = scanline[i][RED];
662                  l3[i].g = scanline[i][GRN];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines