summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2001-10-20 00:13:45 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2001-10-20 00:13:45 +0000
commit52d4c6ebb52a40a707ea12058c07875b71c7f4e7 (patch)
tree37b851c17184a5c082419ffdaf25391b28df540b /src
parent12e875ce4df9ddb15e76b3b52502730d3444b24a (diff)
forgotten diffuse alpha fix
Diffstat (limited to 'src')
-rw-r--r--src/mesa/tnl/t_vb_lighttmp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_lighttmp.h b/src/mesa/tnl/t_vb_lighttmp.h
index cb833e245d..25e29ce606 100644
--- a/src/mesa/tnl/t_vb_lighttmp.h
+++ b/src/mesa/tnl/t_vb_lighttmp.h
@@ -1,4 +1,4 @@
-/* $Id: t_vb_lighttmp.h,v 1.18 2001/09/14 21:30:31 brianp Exp $ */
+/* $Id: t_vb_lighttmp.h,v 1.19 2001/10/20 00:13:45 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -609,6 +609,7 @@ static void TAG(light_fast_rgba_single)( GLcontext *ctx,
ACC_SCALE_SCALAR_3V(sum, spec, light->_MatSpecular[1]);
}
UNCLAMPED_FLOAT_TO_RGB_CHAN(Bcolor[j], sum );
+ Bcolor[j][3] = basechan[1][3];
}
COPY_CHAN4(Fcolor[j], basechan[0]);
} else {
@@ -623,6 +624,7 @@ static void TAG(light_fast_rgba_single)( GLcontext *ctx,
}
UNCLAMPED_FLOAT_TO_RGB_CHAN(Fcolor[j], sum );
+ Fcolor[j][3] = basechan[0][3];
if (IDX & LIGHT_TWOSIDE) COPY_CHAN4(Bcolor[j], basechan[1]);
}