Sfoglia il codice sorgente

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

tags/mesa_4_0
Brian Paul 23 anni fa
parent
commit
37f2d5e696
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/mesa/drivers/glide/fxvbtmp.h

+ 1
- 1
src/mesa/drivers/glide/fxvbtmp.h Vedi 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) {

Loading…
Annulla
Salva