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

Comparing ray/src/px/ra_xyze.c (file contents):
Revision 2.10 by greg, Tue Aug 22 21:38:22 2006 UTC vs.
Revision 2.11 by greg, Thu Aug 18 00:52:48 2016 UTC

# Line 14 | Line 14 | static const char      RCSid[] = "$Id$";
14   #include  "platform.h"
15   #include  "color.h"
16   #include  "resolu.h"
17 + #include  "rtio.h"
18  
19   int  rgbinp = -1;                       /* input is RGBE? */
20   int  rgbout = 0;                        /* output should be RGBE? */
# Line 224 | Line 225 | convert(void)                          /* convert to XYZE or RGBE picture */
225                                  setcolr(scanout[x], colval(scanin[x],RED),
226                                                  colval(scanin[x],GRN),
227                                                  colval(scanin[x],BLU));
228 <                        fwrite((char *)scanout, sizeof(COLR), xmax, stdout);
228 >                        putbinary((char *)scanout, sizeof(COLR), xmax, stdout);
229                  } else
230                          fwritescan(scanin, xmax, stdout);
231                  if (ferror(stdout))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines