summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/program.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-19 08:43:36 -0600
committerBrian Paul <[email protected]>2008-05-19 08:43:36 -0600
commitfbfe2a58de8a9ca31164b4c6f26191b851fe939d (patch)
tree3c5a386386fe49601b5360b3b52e041b9afbab2f /src/mesa/shader/program.c
parentfd59f19cd2388519265dfba3d28e5281df6f4ba0 (diff)
Fix program refcounting assertion failure during context tear-down
When purging the program hash table, the refcount _should_ be one since the program is referenced by the hash table. Need to explicitly set to zero before calling delete(). Also, purge high-level shader hash tables before low-level program hash tables.
Diffstat (limited to 'src/mesa/shader/program.c')
0 files changed, 0 insertions, 0 deletions