diff options
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1362,6 +1362,7 @@ ALvoid aluHandleDisconnect(ALCdevice *device) { ALuint i; + SuspendContext(NULL); for(i = 0;i < device->NumContexts;i++) { ALsource *source; @@ -1384,4 +1385,5 @@ ALvoid aluHandleDisconnect(ALCdevice *device) } device->Connected = ALC_FALSE; + ProcessContext(NULL); } |