diff options
author | Brian <brian@i915.localnet.net> | 2007-06-21 09:15:32 -0600 |
---|---|---|
committer | Brian <brian@i915.localnet.net> | 2007-06-21 09:15:32 -0600 |
commit | 171dcdfa27dda30916a7f9bfed89577feee5d350 (patch) | |
tree | 88624d960231df741ceaa2e5ed2005ebb97d7e22 /src/mesa/shader/programopt.c | |
parent | fe11b2c04bf206bd50654c31e6789519c6c07563 (diff) |
Another round of fixing attribute interpolation for glDraw/CopyPixels.
Need to turn off FRAG_BIT_COL0 in swrast->_ActiveAttribMask when doing
glRead/CopyPixels to prevent the user's colors from getting overwritten
when a fragment program is active.
This was happening in the DRI drivers when MaintainTexEnv program was
used (the texenv fragment program was enabled when _swrast_DrawPixels was
called).
This still isn't an ideal solution, but fixes things for now.
Diffstat (limited to 'src/mesa/shader/programopt.c')
0 files changed, 0 insertions, 0 deletions