diff options
author | Chris Robinson <[email protected]> | 2011-06-26 01:26:50 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-06-26 01:26:50 -0700 |
commit | efaaf9b5f9f55f0e148a274513c12e379741b89b (patch) | |
tree | 90326666d50be0343f4b452c2c6c369934e5545b /Alc/ALu.c | |
parent | c451bf370daa38a0a5b637406abbba2dcdc071d2 (diff) |
Don't bother with a per-context lock for disconnecting devices
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1046,8 +1046,6 @@ ALvoid aluHandleDisconnect(ALCdevice *device) ALsource *source; ALsizei pos; - SuspendContext(Context); - for(pos = 0;pos < Context->SourceMap.size;pos++) { source = Context->SourceMap.array[pos].value; @@ -1059,7 +1057,6 @@ ALvoid aluHandleDisconnect(ALCdevice *device) source->position_fraction = 0; } } - ProcessContext(Context); } device->Connected = ALC_FALSE; |