mesa: Branch 'master'

Brian Paul brianp at kemper.freedesktop.org
Tue Apr 24 21:32:45 PDT 2007


 src/mesa/tnl_dd/t_dd_vb.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree c233aa27684cd0c6c44200c3afcf4a9d5863a947 (from c93b2a1cb71cef1a7fe900fb937a510ae4005ff2)
Author: Brian <brian at yutani.localnet.net>
Date:   Tue Apr 24 22:32:41 2007 -0600

    s/fog/attrib[FRAG_ATTRIB_FOGC][0]/

diff --git a/src/mesa/tnl_dd/t_dd_vb.c b/src/mesa/tnl_dd/t_dd_vb.c
index 629f328..6cdd1bc 100644
--- a/src/mesa/tnl_dd/t_dd_vb.c
+++ b/src/mesa/tnl_dd/t_dd_vb.c
@@ -135,7 +135,7 @@ void TAG(translate_vertex)(GLcontext *ct
       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) ||


More information about the mesa-commit mailing list