Now that _tnl_RasterPos no longer uses the shine tables, avoid revalidating them.
Signed-off-by: Mathias Froehlich <mathias.froehl...@web.de> --- src/mesa/tnl/t_rasterpos.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/mesa/tnl/t_rasterpos.c b/src/mesa/tnl/t_rasterpos.c index 38f63b2..50b5fcb 100644 --- a/src/mesa/tnl/t_rasterpos.c +++ b/src/mesa/tnl/t_rasterpos.c @@ -123,8 +123,6 @@ shade_rastpos(struct gl_context *ctx, const struct gl_light *light; GLfloat diffuseColor[4], specularColor[4]; /* for RGB mode only */ - _mesa_validate_all_lighting_tables( ctx ); - COPY_3V(diffuseColor, base[0]); diffuseColor[3] = CLAMP( ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3], 0.0F, 1.0F ); -- 1.7.7.6 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev