diff options
Diffstat (limited to 'src/mesa/tnl/t_vb_lighttmp.h')
-rw-r--r-- | src/mesa/tnl/t_vb_lighttmp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/tnl/t_vb_lighttmp.h b/src/mesa/tnl/t_vb_lighttmp.h index ef25cd69bc8..aac8890180b 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.24 2002/01/22 14:35:17 brianp Exp $ */ +/* $Id: t_vb_lighttmp.h,v 1.25 2002/02/13 00:53:20 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -163,7 +163,7 @@ static void TAG(light_rgba_spec)( GLcontext *ctx, _mesa_update_material( ctx, new_material[j], new_material_mask[j] ); if ( CHECK_VALIDATE(j) ) { - _mesa_validate_all_lighting_tables( ctx ); + TNL_CONTEXT(ctx)->Driver.NotifyMaterialChange( ctx ); UNCLAMPED_FLOAT_TO_CHAN(sumA[0], ctx->Light.Material[0].Diffuse[3]); if (IDX & LIGHT_TWOSIDE) UNCLAMPED_FLOAT_TO_CHAN(sumA[1], ctx->Light.Material[1].Diffuse[3]); @@ -375,7 +375,7 @@ static void TAG(light_rgba)( GLcontext *ctx, _mesa_update_material( ctx, new_material[j], new_material_mask[j] ); if ( CHECK_VALIDATE(j) ) { - _mesa_validate_all_lighting_tables( ctx ); + TNL_CONTEXT(ctx)->Driver.NotifyMaterialChange( ctx ); UNCLAMPED_FLOAT_TO_CHAN(sumA[0], ctx->Light.Material[0].Diffuse[3]); if (IDX & LIGHT_TWOSIDE) UNCLAMPED_FLOAT_TO_CHAN(sumA[1], ctx->Light.Material[1].Diffuse[3]); @@ -576,7 +576,7 @@ static void TAG(light_fast_rgba_single)( GLcontext *ctx, _mesa_update_material( ctx, new_material[j], new_material_mask[j] ); if ( CHECK_VALIDATE(j) ) - _mesa_validate_all_lighting_tables( ctx ); + TNL_CONTEXT(ctx)->Driver.NotifyMaterialChange( ctx ); /* No attenuation, so incoporate _MatAmbient into base color. @@ -708,7 +708,7 @@ static void TAG(light_fast_rgba)( GLcontext *ctx, _mesa_update_material( ctx, new_material[j], new_material_mask[j] ); if ( CHECK_VALIDATE(j) ) { - _mesa_validate_all_lighting_tables( ctx ); + TNL_CONTEXT(ctx)->Driver.NotifyMaterialChange( ctx ); UNCLAMPED_FLOAT_TO_CHAN(sumA[0], ctx->Light.Material[0].Diffuse[3]); if (IDX & LIGHT_TWOSIDE) UNCLAMPED_FLOAT_TO_CHAN(sumA[1], @@ -853,7 +853,7 @@ static void TAG(light_ci)( GLcontext *ctx, _mesa_update_material( ctx, new_material[j], new_material_mask[j] ); if ( CHECK_VALIDATE(j) ) - _mesa_validate_all_lighting_tables( ctx ); + TNL_CONTEXT(ctx)->Driver.NotifyMaterialChange( ctx ); diffuse[0] = specular[0] = 0.0F; |