diff options
author | Brian <[email protected]> | 2007-04-23 22:01:34 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-04-23 22:01:34 -0600 |
commit | afc132e7a9c2b2c870b61ef10311272b36ea9bf2 (patch) | |
tree | e931b57945e00798fb7c13652c31d195c1204b03 /src/mesa/swrast/s_aatritemp.h | |
parent | 335769a875d653f6076e653d3f63c6a4ba64dba2 (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.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_aatritemp.h b/src/mesa/swrast/s_aatritemp.h index f6c8e68a9b7..8ff52cb932b 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 |