Effectively disable _TexEnvProgram before calling _swrast_DrawPixels().
authorBrian <brian@i915.localnet.net>
Wed, 20 Jun 2007 17:01:04 +0000 (11:01 -0600)
committerBrian <brian@i915.localnet.net>
Wed, 20 Jun 2007 17:01:04 +0000 (11:01 -0600)
commita4af3e5ab3fa0f45c25673c93d802cdff087145c
treeac9369d4875c0e10b6df58bffb9fef8ebdba0ca4
parentb9080dd5493eb23af6c5c494550c7b1cb481ca7b
Effectively disable _TexEnvProgram before calling _swrast_DrawPixels().

It's OK to use _TexEnvProgram regardless of the texture state, but if fog
is also enabled, the fragment program is lacking the actual fog computation
so fogging doesn't appear.
Fixing this might involve a new _MaintainFogProgram field and related code.
For now, just disable the _TexEnvProgram and let swrast handle everything.
src/mesa/drivers/dri/i915/intel_pixel.c
src/mesa/drivers/dri/i915tex/intel_pixel_draw.c