s/fog/attrib[FRAG_ATTRIB_FOGC][0]/
authorBrian <brian@nostromo.localnet.net>
Wed, 25 Apr 2007 04:22:14 +0000 (22:22 -0600)
committerBrian <brian@nostromo.localnet.net>
Wed, 25 Apr 2007 04:22:14 +0000 (22:22 -0600)
src/mesa/drivers/dri/mach64/mach64_native_vb.c

index 519ec81e548a213481c9488536c291e85b696233..81bcf802c7114e478c9dbe97828417e716baf6ec 100644 (file)
@@ -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: