diff options
author | Keith Whitwell <[email protected]> | 2001-03-30 00:39:02 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-03-30 00:39:02 +0000 |
commit | afc5699b08b7eb4d29f2872c308800f2ae43d6b0 (patch) | |
tree | 2481af10007f13a9fac1cda273cd3f78f0a01ed6 /src/mesa/drivers | |
parent | ed39a43b8cb2e1cf69b097fc89365cde470ebf51 (diff) |
Fix calculation of fog coordinate in translate_vertex().
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/common/t_dd_vb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/common/t_dd_vb.c b/src/mesa/drivers/common/t_dd_vb.c index 17dcac3b02e..18e93959bad 100644 --- a/src/mesa/drivers/common/t_dd_vb.c +++ b/src/mesa/drivers/common/t_dd_vb.c @@ -1,4 +1,4 @@ -/* $Id: t_dd_vb.c,v 1.7 2001/03/17 17:31:42 keithw Exp $ */ +/* $Id: t_dd_vb.c,v 1.8 2001/03/30 00:39:02 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -132,7 +132,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.color.alpha/255.0; + dst->fog = src->v.specular.alpha/255.0; if (HAVE_PTEX_VERTICES && ((HAVE_TEX2_VERTICES && format == PROJ_TEX3_VERTEX_FORMAT) || |