diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2000-06-24 14:14:29 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2000-06-24 14:14:29 +0000 |
commit | 0c7d87ac2e319b30b476f8b27bed0339f1b935f0 (patch) | |
tree | 016c09a4ebf2b1cb638e5142ae04d106c2891b42 | |
parent | 86eb38b4a0cd6e2fe3e3579eb5d05f8aa29af40b (diff) |
Bugfixes for colormaterial, polygon clipping in GL_LINE mode
-rw-r--r-- | src/mesa/main/light.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c index 04b2fafb8b..afc81ede70 100644 --- a/src/mesa/main/light.c +++ b/src/mesa/main/light.c @@ -1,4 +1,4 @@ -/* $Id: light.c,v 1.8.2.1 1999/11/22 19:01:39 brianp Exp $ */ +/* $Id: light.c,v 1.8.2.2 2000/06/24 14:14:29 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -588,7 +588,7 @@ void gl_update_color_material( GLcontext *ctx, SUB_3V( tmp, color, mat->Ambient ); ACC_SCALE_3V( ctx->Light.BaseColor[1], ctx->Light.Model.Ambient, tmp); foreach (light, list) { - ACC_SCALE_3V( ctx->Light.BaseColor[0], light->Ambient, tmp ); + ACC_SCALE_3V( ctx->Light.BaseColor[1], light->Ambient, tmp ); } COPY_4FV( mat->Ambient, color ); } |