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

Comparing ray/src/px/pcond3.c (file contents):
Revision 3.19 by greg, Tue Apr 13 02:56:42 2021 UTC vs.
Revision 3.20 by greg, Wed Sep 11 18:56:12 2024 UTC

# Line 196 | Line 196 | getlumsamp(int n)              /* get set of random point sample l
196                  int     sv = 0;
197                  double  rval, cumprob = 0;
198  
199 <                if (x <= 0 && freadcolrs(cscan, x=scanlen(&inpres), infp) < 0) {
199 >                if (x <= 0 && fread2colrs(cscan, x=scanlen(&inpres), infp,
200 >                                                NCSAMP, WLPART) < 0) {
201                          fprintf(stderr, "%s: %s: scanline read error\n",
202                                          progname, infn);
203                          exit(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines