compute dst->ooz, not dst->z in clip interpolation function

This commit is contained in:
Brian Paul 2001-09-19 02:54:56 +00:00
parent 7b9fe820a3
commit 37f2d5e696

View file

@ -163,7 +163,7 @@ static void TAG(interp)( GLcontext *ctx,
dst->x = s[0] * dstclip[0] * oow + s[12];
dst->y = s[5] * dstclip[1] * oow + s[13];
dst->z = s[10] * dstclip[2] * oow + s[14];
dst->ooz = s[10] * dstclip[2] * oow + s[14];
dst->oow = oow;
if (IND & SETUP_SNAP) {