diff options
author | Eric Anholt <eric@anholt.net> | 2009-01-07 14:09:07 -0800 |
---|---|---|
committer | Alan Hourihane <alanh@vmware.com> | 2009-01-09 11:16:39 +0000 |
commit | 510916f50961a3a9286807e7f75ba716f3e7f967 (patch) | |
tree | fc22e88519f847dd069d2431ac59a2a5ba5a3fbc /src/mesa/drivers/dri/i915/i915_state.c | |
parent | 5e116e52a2859cca27e984c4ee4fef69a9280e56 (diff) |
mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.
There was a note in state.c about _Active deserving to die, and there were
potential issues with it due to i965 forgetting to set _UseTexEnvProgram.
Removing both simplifies things.
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/drivers/dri/i915/i915_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_state.c b/src/mesa/drivers/dri/i915/i915_state.c index 9d04358e4f..a53f120a81 100644 --- a/src/mesa/drivers/dri/i915/i915_state.c +++ b/src/mesa/drivers/dri/i915/i915_state.c @@ -569,7 +569,7 @@ i915_update_fog(GLcontext * ctx) GLboolean enabled; GLboolean try_pixel_fog; - if (ctx->FragmentProgram._Active) { + if (ctx->FragmentProgram._Current) { /* Pull in static fog state from program */ mode = ctx->FragmentProgram._Current->FogOption; enabled = (mode != GL_NONE); |