compute dst->ooz, not dst->z in clip interpolation function
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 19 Sep 2001 02:54:56 +0000 (02:54 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 19 Sep 2001 02:54:56 +0000 (02:54 +0000)
src/mesa/drivers/glide/fxvbtmp.h

index 570e7adf16b124f7327f2185865e22f839208092..c0700b55998c5e6c165a8d1a523c51c1500d0c59 100644 (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) {