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

Comparing ray/src/px/pmblur2.c (file contents):
Revision 2.6 by greg, Thu Aug 2 18:33:45 2018 UTC vs.
Revision 2.7 by greg, Thu Nov 7 23:20:29 2019 UTC

# Line 132 | Line 132 | loadprev(int fno)
132                          goto readerr;
133          fclose(fp);
134          sprintf(fname, zbfspec, fno);   /* load depth buffer */
135 <        if ((fd = open(fname, O_RDONLY)) < 0) {
135 >        if ((fd = open_float_depth(fname, (long)rs.xr*rs.yr)) < 0) {
136                  sprintf(errmsg, "cannot open depth buffer \"%s\"", fname);
137                  error(SYSTEM, errmsg);
138          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines