diff options
author | Brian Paul <[email protected]> | 2010-07-02 08:14:54 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-07-02 08:14:54 -0600 |
commit | b6b9b17d27c570cc99ae339e595cf2f63ca5e8d7 (patch) | |
tree | 72634b1de97dd6369a14f86f710340b5823f4cdf /src/mesa/main/state.c | |
parent | e845765f0f8791a0e6c2e54b91ebf9f0e831d19f (diff) |
mesa: make the number of draw buffers part of the texenv program key state
All the state that effects the program should be in the key.
This didn't help with bug 28169 but is a good fix anyway.
NOTE: this is a low-priority candidate for the 7.8 branch. In practice,
this issue might never be hit.
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r-- | src/mesa/main/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 583dee53f24..4a3dffe4cf8 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -565,7 +565,7 @@ _mesa_update_state_locked( GLcontext *ctx ) /* Determine which state flags effect vertex/fragment program state */ if (ctx->FragmentProgram._MaintainTexEnvProgram) { - prog_flags |= (_NEW_TEXTURE | _NEW_FOG | + prog_flags |= (_NEW_BUFFERS | _NEW_TEXTURE | _NEW_FOG | _NEW_ARRAY | _NEW_LIGHT | _NEW_POINT | _NEW_RENDERMODE | _NEW_PROGRAM); } |