Add disabled support for GL_EXT_fog_coord. While it seems correct to me, it's
authorEric Anholt <anholt@FreeBSD.org>
Wed, 26 Oct 2005 09:37:53 +0000 (09:37 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Wed, 26 Oct 2005 09:37:53 +0000 (09:37 +0000)
commit2330ed08c3d5f5fe3c02634d54e606501dff4862
tree850754719df8e60bbbda834a7d0ae3f585de22dc
parenta09d002bb5b9610681e10e3e3b09e5da5b971eaa
Add disabled support for GL_EXT_fog_coord.  While it seems correct to me, it's
not respecting the coords (or perhaps interpreting them differently?) in my
testing.  However, in the process it led to a fix of a secondary color handling
issue where it would be taken from the wrong offset, I believe, based off of
reading the r200 driver.  Also add a minor tweak to save time in the
fog-but-not-specular case.
src/mesa/drivers/dri/sis/sis_context.c
src/mesa/drivers/dri/sis/sis_fog.c
src/mesa/drivers/dri/sis/sis_state.c
src/mesa/drivers/dri/sis/sis_tris.c