s/fog/attrib[FRAG_ATTRIB_FOGC][0]/
authorBrian <brian@yutani.localnet.net>
Wed, 25 Apr 2007 04:32:41 +0000 (22:32 -0600)
committerBrian <brian@yutani.localnet.net>
Wed, 25 Apr 2007 04:32:41 +0000 (22:32 -0600)
src/mesa/tnl_dd/t_dd_vb.c

index 629f328a4d17b42952da9d77b2d0710c14735a4a..6cdd1bc0313098b560a780dec4a19b9b73b3f89d 100644 (file)
@@ -135,7 +135,7 @@ void TAG(translate_vertex)(GLcontext *ctx,
       dst->specular[1] = src->v.specular.green;
       dst->specular[2] = src->v.specular.blue;
 
-      dst->fog = src->v.specular.alpha/255.0;
+      dst->attrib[FRAG_ATTRIB_FOGC][0] = src->v.specular.alpha/255.0;
 
       if (HAVE_PTEX_VERTICES &&
          ((HAVE_TEX2_VERTICES && format == PROJ_TEX3_VERTEX_FORMAT) ||