From: Brian Paul Date: Wed, 19 Sep 2001 02:54:56 +0000 (+0000) Subject: compute dst->ooz, not dst->z in clip interpolation function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37f2d5e6961ad9563a50287d357eb18bb94c072c;p=mesa.git compute dst->ooz, not dst->z in clip interpolation function --- diff --git a/src/mesa/drivers/glide/fxvbtmp.h b/src/mesa/drivers/glide/fxvbtmp.h index 570e7adf16b..c0700b55998 100644 --- a/src/mesa/drivers/glide/fxvbtmp.h +++ b/src/mesa/drivers/glide/fxvbtmp.h @@ -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) {