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.1 by greg, Mon Sep 9 17:19:51 2019 UTC vs.
Revision 2.4 by greg, Thu Jun 24 18:08:07 2021 UTC

# Line 30 | Line 30
30   #include "platform.h"
31   #include "standard.h"
32   #include "cmatrix.h"
33 #include "platform.h"
33   #include "resolu.h"
34   #include "cmglare.h"
35  
# Line 68 | Line 67 | sum_images(const char *fspec, const CMATRIX *cv, FILE
67                          error(SYSTEM, errmsg);
68                  }
69                  dt = DTfromHeader;
70 <                if ((err = cm_getheader(&dt, NULL, NULL, NULL, fp)) != NULL)
70 >                if ((err = cm_getheader(&dt, NULL, NULL, NULL, NULL, fp)) != NULL)
71                          error(USER, err);
72                  if ((dt != DTrgbe) & (dt != DTxyze) ||
73                                  !fscnresolu(&xr, &yr, fp)) {
# Line 301 | Line 300 | main(int argc, char *argv[])
300          if ((argc-a < 2) | (argc-a > 5))
301                  goto userr;
302          /* single bounce daylight coefficients file */
303 <        direct_path = argv[++a];
303 >        direct_path = argv[a++];
304   #else
305          if ((argc-a < 1) | (argc-a > 4))
306                  goto userr;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines