diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-19 08:43:36 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-19 08:43:36 -0600 |
commit | fbfe2a58de8a9ca31164b4c6f26191b851fe939d (patch) | |
tree | 3c5a386386fe49601b5360b3b52e041b9afbab2f /src/glut/os2/WarpWin.cpp | |
parent | fd59f19cd2388519265dfba3d28e5281df6f4ba0 (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/glut/os2/WarpWin.cpp')
0 files changed, 0 insertions, 0 deletions