summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/depth.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-06-20 11:01:04 -0600
committerBrian <[email protected]>2007-06-20 11:01:04 -0600
commita4af3e5ab3fa0f45c25673c93d802cdff087145c (patch)
treeac9369d4875c0e10b6df58bffb9fef8ebdba0ca4 /src/mesa/main/depth.c
parentb9080dd5493eb23af6c5c494550c7b1cb481ca7b (diff)
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.
Diffstat (limited to 'src/mesa/main/depth.c')
0 files changed, 0 insertions, 0 deletions