OSDN Git Service

mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.
authorEric Anholt <eric@anholt.net>
Wed, 7 Jan 2009 22:09:07 +0000 (14:09 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 8 Jan 2009 04:34:46 +0000 (20:34 -0800)
commit8fb727548a652c47d8cf9593e2ae412ef2040119
treec7157711fcbdf121946592e81438cb46650ee9d7
parentb9b482bd8de366289158a916e16414c5a74819c9
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>
src/mesa/drivers/dri/i915/i915_context.c
src/mesa/drivers/dri/i915/i915_state.c
src/mesa/drivers/dri/intel/intel_pixel_draw.c
src/mesa/main/context.c
src/mesa/main/mtypes.h
src/mesa/main/state.c
src/mesa/swrast/s_aalinetemp.h
src/mesa/tnl/t_context.c