summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_pointtemp.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-04-23 22:01:34 -0600
committerBrian <[email protected]>2007-04-23 22:01:34 -0600
commitafc132e7a9c2b2c870b61ef10311272b36ea9bf2 (patch)
treee931b57945e00798fb7c13652c31d195c1204b03 /src/mesa/swrast/s_pointtemp.h
parent335769a875d653f6076e653d3f63c6a4ba64dba2 (diff)
remove SWvertex->fog field, use attrib field
Diffstat (limited to 'src/mesa/swrast/s_pointtemp.h')
-rw-r--r--src/mesa/swrast/s_pointtemp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_pointtemp.h b/src/mesa/swrast/s_pointtemp.h
index 23ac5712366..500b3fef9df 100644
--- a/src/mesa/swrast/s_pointtemp.h
+++ b/src/mesa/swrast/s_pointtemp.h
@@ -105,7 +105,7 @@ NAME ( GLcontext *ctx, const SWvertex *vert )
*/
span->interpMask = SPAN_FOG;
span->arrayMask = SPAN_XY | SPAN_Z;
- span->attrStart[FRAG_ATTRIB_FOGC][0] = vert->fog;
+ span->attrStart[FRAG_ATTRIB_FOGC][0] = vert->attrib[FRAG_ATTRIB_FOGC][0];
span->attrStepX[FRAG_ATTRIB_FOGC][0] = 0.0;
span->attrStepY[FRAG_ATTRIB_FOGC][0] = 0.0;
#if FLAGS & RGBA