mesa: Make sure _TexEnvProgram points at the current ff fragment program
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 20 Jan 2012 01:23:51 +0000 (17:23 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 24 Jan 2012 20:30:52 +0000 (12:30 -0800)
commit34db7a8c1e775aaefad7952133e087f1c1a569f6
tree37b70999f357e8ea53f32aec4fe3d94650d9ea4e
parent3e01c3f3baee82524e23107aecb2de4c7ee8b978
mesa: Make sure _TexEnvProgram points at the current ff fragment program

At least one place, the _mesa_need_secondary_color function in
state.h, uses this to make decisions.  The next patch in this series
will add another dependency.  Ideally, this field would go away and be
replace by a flag or something.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/state.c