summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <brian@nostromo.localnet.net>2007-04-24 22:22:14 -0600
committerBrian <brian@nostromo.localnet.net>2007-04-24 22:22:14 -0600
commitc93b2a1cb71cef1a7fe900fb937a510ae4005ff2 (patch)
tree68180b252f0b40e7cdbbc3c80981f25b72ed5c84 /src
parenteca456b63d41700617987ba45a09e8f2168b9577 (diff)
downloadexternal_mesa3d-c93b2a1cb71cef1a7fe900fb937a510ae4005ff2.zip
external_mesa3d-c93b2a1cb71cef1a7fe900fb937a510ae4005ff2.tar.gz
external_mesa3d-c93b2a1cb71cef1a7fe900fb937a510ae4005ff2.tar.bz2
s/fog/attrib[FRAG_ATTRIB_FOGC][0]/
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/mach64/mach64_native_vb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_native_vb.c b/src/mesa/drivers/dri/mach64/mach64_native_vb.c
index 519ec81..81bcf80 100644
--- a/src/mesa/drivers/dri/mach64/mach64_native_vb.c
+++ b/src/mesa/drivers/dri/mach64/mach64_native_vb.c
@@ -81,7 +81,7 @@ void TAG(translate_vertex)(GLcontext *ctx,
dst->specular[2] = ((GLubyte *)p)[0];
dst->specular[1] = ((GLubyte *)p)[1];
dst->specular[0] = ((GLubyte *)p)[2];
- dst->fog = ((GLubyte *)p)[3];
+ dst->attrib[FRAG_ATTRIB_FOGC][0] = ((GLubyte *)p)[3];
p++;
case TINY_VERTEX_FORMAT: