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

Comparing ray/src/px/pcond2.c (file contents):
Revision 3.13 by greg, Mon Nov 8 15:50:59 2004 UTC vs.
Revision 3.14 by greg, Sun Nov 14 16:57:18 2004 UTC

# Line 115 | Line 115 | firstscan(void)                                /* return first processed scanline
115                          comprgb2rgbWBmat(mbcond.cmat, inprims, outprims);
116                  else
117                          compxyz2rgbWBmat(mbcond.cmat, outprims);
118 <        if (what2do&DO_ACUITY && !initacuity()) {
119 <                fprintf(stderr, "%s: warning - cannot initialize acuity pass\n",
120 <                                progname);
121 <                what2do &= ~DO_ACUITY;
122 <        }
118 >        if (what2do&DO_ACUITY)
119 >                initacuity();
120          scanbuf = (COLOR *)malloc(scanlen(&inpres)*sizeof(COLOR));
121          if (scanbuf == NULL)
122                  syserror("malloc");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines