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

Comparing ray/src/px/pcwarp.c (file contents):
Revision 3.6 by greg, Thu Aug 2 18:33:44 2018 UTC vs.
Revision 3.8 by greg, Fri Jun 6 19:11:21 2025 UTC

# 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 <stdio.h>
9 <
8 > #include "paths.h"
9 > #include "rtio.h"
10   #include "resolu.h"
11   #include "color.h"
12   #include "warp3d.h"
13  
14 char    *progname;                      /* global argv[0] */
15
14   FILE    *infp = NULL;                   /* input stream */
15   int     xres, yres;                     /* input picture resolution */
16  
# Line 35 | 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++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines