diff options
author | Chris Robinson <[email protected]> | 2008-01-16 13:27:15 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-01-16 13:27:15 -0800 |
commit | 8ad16145f69d36d2de6b9d0a032479ca71ff4a67 (patch) | |
tree | 338063d9074dce5dd7da0aef589465e26d34b84b /Alc | |
parent | bb7b18d4e10b1f1e4d76847f58e0bf778584dc9e (diff) |
Make sure sources are deleted with the context
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1013,6 +1013,7 @@ ALCAPI ALCvoid ALCAPIENTRY alcDestroyContext(ALCcontext *context) // Lock context SuspendContext(context); + ReleaseALSources(context); ReleaseALAuxiliaryEffectSlots(context); context->Device->Context = NULL; |