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:40:44 +0000 (15:40 -0600)
commit470f69950577e05e3dfd09653c268cf22c034d7f
tree09beeee8f5cf1b9ec317d753b23946b7ce5bfe0e
parentffbd455a36f1d7600bd5b60e91768133d901d2f4
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