Use NEED_SECONDARY_COLOR() for checking specular state at all times
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 28 Jan 2004 08:21:05 +0000 (08:21 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 28 Jan 2004 08:21:05 +0000 (08:21 +0000)
commit43b57728340e70827a114c384192ed319abdb5c6
tree65293082fd34070922248f58bd36df5eee23174e
parentc78a89d761a104dfe92ab42d3d52bb69c43105c1
Use NEED_SECONDARY_COLOR() for checking specular state at all times
when ctx->_TriangleCaps might be inaccurate (ie while ctx->NewState might
be non-zero).
src/mesa/drivers/dri/i830/i830_state.c
src/mesa/drivers/dri/mga/mgastate.c
src/mesa/drivers/dri/radeon/radeon_lighting.c
src/mesa/drivers/dri/radeon/radeon_state.c