mesa: minor fixes in _mesa_free_shader_program_data() and _mesa_link_program()
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 8 May 2008 02:18:49 +0000 (20:18 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 8 May 2008 02:18:49 +0000 (20:18 -0600)
commita266af9200444a4f651e0ff0cf54e533be38d44d
treec2041831b6d93f816ecd5f202d53f25c70712df7
parent1a82d9648b3db780e58e4966924157542d148c58
mesa: minor fixes in _mesa_free_shader_program_data() and _mesa_link_program()

From master:
Set shProg->NumShaders = 0 after freeing program's list of shaders.
Set _NEW_PROGRAM in _mesa_link_program() to fix a state validation bug.
src/mesa/shader/shader_api.c