diff options
author | Brian Paul <[email protected]> | 2013-02-20 07:39:04 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-02-22 16:49:05 -0700 |
commit | 8bb291b0f59e8e13bc252cb35672eb468e53881a (patch) | |
tree | baf2cb42f52e6bce25bd7b90372e8f68ec14569a /src/gallium/tools/addr2line.sh | |
parent | 8589cc41b36b89bc80ad6a4f671e47f81a89d556 (diff) |
st/mesa: check for dummy programs in destroy_program_variants()
When we destroy an ARB vp/fp whose ID was gen'd but not otherwise used we
get a pointer to the dummy/placeholder program. We can't destroy that one
so just skip it. This only failed during context tear-down because
glDeleteProgramsARB() was already aware of dummy programs.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38086
Note: This is a candidate for the stable branches.
Tested-by: Andreas Boll <[email protected]>
Diffstat (limited to 'src/gallium/tools/addr2line.sh')
0 files changed, 0 insertions, 0 deletions