From 37f2d5e6961ad9563a50287d357eb18bb94c072c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 19 Sep 2001 02:54:56 +0000 Subject: compute dst->ooz, not dst->z in clip interpolation function --- src/mesa/drivers/glide/fxvbtmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers') 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) { -- cgit v1.2.3