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

Comparing ray/src/util/dcglare.c (file contents):
Revision 2.5 by greg, Thu Mar 3 03:55:13 2022 UTC vs.
Revision 2.6 by greg, Fri Mar 11 02:27:02 2022 UTC

# Line 475 | Line 475 | main(int argc, char *argv[])
475                                          fprintf(ofp, "FRAME=%d\n", i);
476                                          fprintf(ofp, "NROWS=%d\n", rvec->nrows);
477                                          fputs("NCOLS=1\nNCOMP=3\n", ofp);
478 <                                        if ((outfmt == 'f') | (outfmt == 'd'))
478 >                                        if ((outfmt == DTfloat) | (outfmt == DTdouble))
479                                                  fputendian(ofp);
480                                          fputformat(cm_fmt_id[outfmt], ofp);
481                                          fputc('\n', ofp);
# Line 508 | Line 508 | main(int argc, char *argv[])
508                                  fprintf(ofp, "NCOLS=%d\n", rmtx->ncols);
509                                  fputs("NCOMP=3\n", ofp);
510   #endif /* DC_GLARE */
511 <                                if ((outfmt == 'f') | (outfmt == 'd'))
511 >                                if ((outfmt == DTfloat) | (outfmt == DTdouble))
512                                          fputendian(ofp);
513                                  fputformat(cm_fmt_id[outfmt], ofp);
514                                  fputc('\n', ofp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines