--- ray/src/px/pinterp.c 1990/01/16 11:29:14 1.19 +++ ray/src/px/pinterp.c 1990/01/17 15:12:37 1.21 @@ -16,6 +16,10 @@ static char SCCSid[] = "$SunId$ LBL"; #include "color.h" +#ifndef BSD +#define vfork fork +#endif + #define pscan(y) (ourpict+(y)*hresolu) #define zscan(y) (ourzbuf+(y)*hresolu) @@ -362,6 +366,7 @@ struct position *lasty; /* input/output */ struct position lastx, newpos; register int x; + lastx.z = 0; for (x = thresolu-1; x >= 0; x--) { pos[0] = (x+.5)/thresolu + theirview.hoff - .5; pos[1] = (y+.5)/tvresolu + theirview.voff - .5;