diff options
author | Brian <brian@i915.localnet.net> | 2007-06-20 11:01:04 -0600 |
---|---|---|
committer | Brian <brian@i915.localnet.net> | 2007-06-20 11:01:04 -0600 |
commit | a4af3e5ab3fa0f45c25673c93d802cdff087145c (patch) | |
tree | ac9369d4875c0e10b6df58bffb9fef8ebdba0ca4 /progs/samples/eval.c | |
parent | b9080dd5493eb23af6c5c494550c7b1cb481ca7b (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 'progs/samples/eval.c')
0 files changed, 0 insertions, 0 deletions