mesa: Track an ActiveProgram distinct from CurrentProgram
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 11 Oct 2010 23:07:08 +0000 (16:07 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 27 Oct 2010 20:35:53 +0000 (13:35 -0700)
commit75c6f472880706dcbb9d1e20727fa8f71db8b11c
treefae106114612981994bbfb5642aec517929de47b
parent01abcf3b79c9ba18fef2de423b51e7e1f9bb1b3f
mesa: Track an ActiveProgram distinct from CurrentProgram

ActiveProgram is the GL_EXT_separate_shader_objects state variable
used for glUniform calls.  glUseProgram also sets this.
src/mesa/main/get.c
src/mesa/main/mtypes.h
src/mesa/main/shaderapi.c
src/mesa/main/uniforms.c