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

Comparing ray/src/hd/rhpict.c (file contents):
Revision 3.11 by schorsch, Mon Jun 30 14:59:12 2003 UTC vs.
Revision 3.13 by schorsch, Mon Jul 21 22:30:18 2003 UTC

# Line 169 | Line 169 | render_frame(bl, nb)           /* render frame from beam values
169   register PACKHEAD       *bl;
170   int     nb;
171   {
172 <        extern int      pixBeam();
172 >        extern void     pixBeam();
173          register HDBEAMI        *bil;
174          register int    i;
175  
# Line 237 | Line 237 | endpicture()                   /* finish and write out pixels */
237                                  /* compute final pixel values */
238          for (p = hres*vres; p--; ) {
239                  if (myweight[p] <= FTINY) {
240 <                        if (lastr >= 0)
240 >                        if (lastr >= 0) {
241                                  if (p/hres == lastp/hres)
242                                          copycolor(mypixel[p], mypixel[lastp]);
243                                  else
244                                          copycolor(mypixel[p], mypixel[lastrp]);
245 +                        }
246                          nunrend++;
247                          continue;
248                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines