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_aalinetemp.h | |
parent | 335769a875d653f6076e653d3f63c6a4ba64dba2 (diff) |
remove SWvertex->fog field, use attrib field
Diffstat (limited to 'src/mesa/swrast/s_aalinetemp.h')
-rw-r--r-- | src/mesa/swrast/s_aalinetemp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_aalinetemp.h b/src/mesa/swrast/s_aalinetemp.h index b0b73e816dd..ef26e9edc8b 100644 --- a/src/mesa/swrast/s_aalinetemp.h +++ b/src/mesa/swrast/s_aalinetemp.h @@ -153,7 +153,9 @@ NAME(line)(GLcontext *ctx, const SWvertex *v0, const SWvertex *v1) #ifdef DO_FOG line.span.arrayMask |= SPAN_FOG; compute_plane(line.x0, line.y0, line.x1, line.y1, - v0->fog, v1->fog, line.fPlane); + v0->attrib[FRAG_ATTRIB_FOGC][0], + v1->attrib[FRAG_ATTRIB_FOGC][0], + line.fPlane); #endif #ifdef DO_RGBA line.span.arrayMask |= SPAN_RGBA; |