Fix a program refcounting error, don't share program parameter lists.
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 16 May 2008 15:56:59 +0000 (09:56 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 16 May 2008 21:16:06 +0000 (15:16 -0600)
commit8bdf5b6e6465ff734a798efb193ab16cd33df36e
treed34a8b6f74463270b70be556ce16d1fd7d914ad9
parenta3e86d43e6c99af97c2931c883d552c9714006e8
Fix a program refcounting error, don't share program parameter lists.

The refcounting bug was causing a memleak (unfreed programs).
The old parameter list sharing is not needed since the change in how
uniforms are handled.
src/mesa/shader/shader_api.c
src/mesa/shader/slang/slang_link.c