projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4b65b6
)
fix GL_BACK color material bug
author
Keith Whitwell
<keith@tungstengraphics.com>
Mon, 19 Jun 2000 14:35:17 +0000
(14:35 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Mon, 19 Jun 2000 14:35:17 +0000
(14:35 +0000)
src/mesa/main/light.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/light.c
b/src/mesa/main/light.c
index a6696b1e1ae9d4b7d08237026624b3b41f2cce99..f7278c2c31aeb654b337ccff06e7bfdb970b70e2 100644
(file)
--- a/
src/mesa/main/light.c
+++ b/
src/mesa/main/light.c
@@
-1,4
+1,4
@@
-/* $Id: light.c,v 1.1
2 2000/01/31 23:33:53 brianp
Exp $ */
+/* $Id: light.c,v 1.1
3 2000/06/19 14:35:17 keithw
Exp $ */
/*
* Mesa 3-D graphics library
@@
-693,7
+693,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 );
}