Call UpdateMaterial() unconditionally on GL_COLOR_MATERIAL state change
authorMichel Dänzer <michel@daenzer.net>
Fri, 23 Jan 2004 03:33:04 +0000 (03:33 +0000)
committerMichel Dänzer <michel@daenzer.net>
Fri, 23 Jan 2004 03:33:04 +0000 (03:33 +0000)
commita2c97eb2ffad0471aae34ab185461774318a57d6
tree9e0016c2f27d290367359ccb43f8e59cb1aaa55a
parent5d00e131d8a264498b8d050c3eded093ee5c42f2
Call UpdateMaterial() unconditionally on GL_COLOR_MATERIAL state change
(Roland Scheidegger), and update lighting state unconditionally there.
Fixes lighting oddities in the xscreensaver endgame hack, bzflag and
possibly elsewhere.
src/mesa/drivers/dri/r200/r200_state.c
src/mesa/drivers/dri/radeon/radeon_state.c