diff options
author | Brian Paul <[email protected]> | 2002-08-21 13:05:37 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-08-21 13:05:37 +0000 |
commit | 1e0241d3c6b619f7024c9bb98c182598642a5bc2 (patch) | |
tree | 1097ba117b4a95802eb96f4fef6799577e36470f /src/mesa/tnl | |
parent | 713800a495152c5b39973a781ef3659835184d21 (diff) |
replace Current.Color with Current.Attrib[VERT_ATTRIB_COLOR0]
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r-- | src/mesa/tnl/t_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c index 676eb4736e3..2aa72c7aeea 100644 --- a/src/mesa/tnl/t_context.c +++ b/src/mesa/tnl/t_context.c @@ -1,4 +1,4 @@ -/* $Id: t_context.c,v 1.27 2002/08/21 10:39:59 keithw Exp $ */ +/* $Id: t_context.c,v 1.28 2002/08/21 13:05:37 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -196,7 +196,7 @@ _tnl_wakeup_exec( GLcontext *ctx ) tnl->pipeline.run_input_changes = ~0; if (ctx->Light.ColorMaterialEnabled) { - _mesa_update_color_material( ctx, ctx->Current.Color ); + _mesa_update_color_material( ctx, ctx->Current.Attrib[VERT_ATTRIB_COLOR0] ); } } |