| # | Line 5 | Line 5 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 5 | * Warp colors in Radiance picture to correct for input/output changes. | |
| 6 | */ | |
| 7 | ||
| 8 | + | #include "paths.h" |
| 9 | #include "rtio.h" | |
| 10 | #include "resolu.h" | |
| 11 | #include "color.h" | |
| 12 | #include "warp3d.h" | |
| 13 | ||
| 13 | – | char *progname; /* global argv[0] */ |
| 14 | – | |
| 14 | FILE *infp = NULL; /* input stream */ | |
| 15 | int xres, yres; /* input picture resolution */ | |
| 16 | ||
| # | Line 34 | Line 33 | main( | |
| 33 | int rval; | |
| 34 | int i; | |
| 35 | ||
| 36 | < | progname = argv[0]; |
| 36 | > | fixargv0(argv[0]); |
| 37 | infp = stdin; | |
| 38 | /* get options */ | |
| 39 | for (i = 1; i < argc && argv[i][0] == '-'; i++) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |