summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_aatritemp.h
diff options
context:
space:
mode:
authorBrian <brian@nostromo.localnet.net>2007-04-23 22:01:34 -0600
committerBrian <brian@nostromo.localnet.net>2007-04-23 22:01:34 -0600
commitafc132e7a9c2b2c870b61ef10311272b36ea9bf2 (patch)
treee931b57945e00798fb7c13652c31d195c1204b03 /src/mesa/swrast/s_aatritemp.h
parent335769a875d653f6076e653d3f63c6a4ba64dba2 (diff)
remove SWvertex->fog field, use attrib field
Diffstat (limited to 'src/mesa/swrast/s_aatritemp.h')
-rw-r--r--src/mesa/swrast/s_aatritemp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_aatritemp.h b/src/mesa/swrast/s_aatritemp.h
index f6c8e68a9b..8ff52cb932 100644
--- a/src/mesa/swrast/s_aatritemp.h
+++ b/src/mesa/swrast/s_aatritemp.h
@@ -136,7 +136,11 @@
span.arrayMask |= SPAN_Z;
#endif
#ifdef DO_FOG
- compute_plane(p0, p1, p2, v0->fog, v1->fog, v2->fog, fogPlane);
+ compute_plane(p0, p1, p2,
+ v0->attrib[FRAG_ATTRIB_FOGC][0],
+ v1->attrib[FRAG_ATTRIB_FOGC][0],
+ v2->attrib[FRAG_ATTRIB_FOGC][0],
+ fogPlane);
span.arrayMask |= SPAN_FOG;
#endif
#ifdef DO_RGBA