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.13 by greg, Mon Oct 23 09:10:22 1989 UTC vs.
Revision 1.14 by greg, Mon Nov 6 15:12:03 1989 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines