Fix the RGB order of the specular color emit, and turn GL_EXT_secondary_color
authorEric Anholt <anholt@FreeBSD.org>
Wed, 26 Oct 2005 10:46:49 +0000 (10:46 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Wed, 26 Oct 2005 10:46:49 +0000 (10:46 +0000)
commit5f79025e0d3a416dd8428f75612da93283775778
tree4fc3b7f02f615be9603c86ba51aafd60bca8b1b8
parentf8a5898ca025ef48510d67f00f56fe4b2b7ef64d
Fix the RGB order of the specular color emit, and turn GL_EXT_secondary_color
back on.  Tested using seccolor modified to use the blue channel instead of
green, since green stays in the same place across RGB/BGR mistakes.  Also hook
in UpdateSpecular on COLOR_EXT change, which might have resulted in missing
statechanges before.
src/mesa/drivers/dri/r128/r128_context.c
src/mesa/drivers/dri/r128/r128_state.c
src/mesa/drivers/dri/r128/r128_tris.c