mesa: Do not invalidate shine tables in compute light positions.
authorMathias Fröhlich <Mathias.Froehlich@gmx.net>
Wed, 29 Feb 2012 17:19:34 +0000 (18:19 +0100)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Wed, 29 Feb 2012 19:37:24 +0000 (20:37 +0100)
commit8e5bc6dd1dab61858ae34ed76c7b2cc3e90b7ad5
tree1dcd77f6437d45cd9f5123b24ec1c0ba8c4a3824
parent7793a63d3d3a0cf403b7f51dd3a72e4c37ebfb16
mesa: Do not invalidate shine tables in compute light positions.

Since the shine tables are now only used in the tnl lighting stage, where
they are validated through the tnl driver function NotifyMaterialChange
called in tnl/t_vb_light.c, we can not omit calling
_mesa_validate_all_lighting_tables (which only validates the shine tables)
in main/light.c.

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
src/mesa/main/light.c