From c233aa27684cd0c6c44200c3afcf4a9d5863a947 Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 24 Apr 2007 22:32:41 -0600 Subject: [PATCH] s/fog/attrib[FRAG_ATTRIB_FOGC][0]/ --- src/mesa/tnl_dd/t_dd_vb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/tnl_dd/t_dd_vb.c b/src/mesa/tnl_dd/t_dd_vb.c index 629f328a4d1..6cdd1bc0313 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 *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) || -- 2.30.2