diff options
author | Mathias Fröhlich <[email protected]> | 2012-02-29 18:19:34 +0100 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2012-02-29 20:37:20 +0100 |
commit | 7793a63d3d3a0cf403b7f51dd3a72e4c37ebfb16 (patch) | |
tree | b7b1f6825b09d37551ba92043462c736a723949b /src/mesa | |
parent | a1b1f8ff866f8ce48cfc83c9d9dd9f636d05d2a7 (diff) |
mesa: Avoid revalidating shine tables in _tnl_RasterPos.
Now that _tnl_RasterPos no longer uses the shine tables, avoid
revalidating them.
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Mathias Froehlich <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | 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 38f63b23af1..50b5fcb4c63 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 ); |