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

Comparing ray/src/px/x11image.c (file contents):
Revision 2.4 by greg, Tue Apr 28 09:40:32 1992 UTC vs.
Revision 2.5 by greg, Tue May 19 14:22:46 1992 UTC

# Line 722 | Line 722 | getfull()                      /* get full (24-bit) data */
722                          shiftcolrs(scanline, xmax, scale);
723                  colrs_gambs(scanline, xmax);
724                  add2icon(y, scanline);
725 <                for (x = 0; x < xmax; x++) {
726 <                        *dp++ = scanline[x][RED];
727 <                        *dp++ = scanline[x][GRN];
725 >                for (x = 0; x < xmax; x++) {    /* BGR byte ordering */
726                          *dp++ = scanline[x][BLU];
727 +                        *dp++ = scanline[x][GRN];
728 +                        *dp++ = scanline[x][RED];
729                  }
730          }
731   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines