--- ray/src/hd/rhpict.c 2003/06/30 14:59:12 3.11 +++ ray/src/hd/rhpict.c 2003/07/21 22:30:18 3.13 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rhpict.c,v 3.11 2003/06/30 14:59:12 schorsch Exp $"; +static const char RCSid[] = "$Id: rhpict.c,v 3.13 2003/07/21 22:30:18 schorsch Exp $"; #endif /* * Radiance holodeck picture generator @@ -169,7 +169,7 @@ render_frame(bl, nb) /* render frame from beam values register PACKHEAD *bl; int nb; { - extern int pixBeam(); + extern void pixBeam(); register HDBEAMI *bil; register int i; @@ -237,11 +237,12 @@ endpicture() /* finish and write out pixels */ /* compute final pixel values */ for (p = hres*vres; p--; ) { if (myweight[p] <= FTINY) { - if (lastr >= 0) + if (lastr >= 0) { if (p/hres == lastp/hres) copycolor(mypixel[p], mypixel[lastp]); else copycolor(mypixel[p], mypixel[lastrp]); + } nunrend++; continue; }