diff options
author | Brian Paul <brianp@vmware.com> | 2009-10-22 18:19:01 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-10-22 18:20:28 -0600 |
commit | 5e6a6a2719c695996490bde491dac267e52f78af (patch) | |
tree | b9172df37b2299455694fe18118230ff561fa070 /src/glx/x11/dri_common.c | |
parent | 4837e01bcd3d011a38d75cc9f1eff629c3de6fd6 (diff) |
glx: don't destroy context immediately if it's currently bound
According to the GLXDestroyContext() man page, the context should not
immediately be destroyed if it's bound to some thread. Wait until it's
unbound to really delete it. The code for doing the later part is
already present in MakeContextCurrent() so no change was needed there.
Diffstat (limited to 'src/glx/x11/dri_common.c')
0 files changed, 0 insertions, 0 deletions