summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/glide
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-09-19 02:54:56 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-09-19 02:54:56 +0000
commit37f2d5e6961ad9563a50287d357eb18bb94c072c (patch)
treeef764e89010477a7d3ef9a1b0f043988fac1eeef /src/mesa/drivers/glide
parent7b9fe820a3fba3849864682fbb1cb512362934ab (diff)
compute dst->ooz, not dst->z in clip interpolation function
Diffstat (limited to 'src/mesa/drivers/glide')
-rw-r--r--src/mesa/drivers/glide/fxvbtmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxvbtmp.h b/src/mesa/drivers/glide/fxvbtmp.h
index 570e7adf16..c0700b5599 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) {