[Mesa-dev] [PATCH 5/7] mesa: Avoid revalidating shine tables in _tnl_RasterPos.

Mathias Fröhlich Mathias.Froehlich at gmx.net
Wed Feb 29 10:47:23 PST 2012


Now that _tnl_RasterPos no longer uses the shine tables, avoid
revalidating them.

Signed-off-by: Mathias Froehlich <Mathias.Froehlich at 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


More information about the mesa-dev mailing list