aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-06-26 01:26:50 -0700
committerChris Robinson <[email protected]>2011-06-26 01:26:50 -0700
commitefaaf9b5f9f55f0e148a274513c12e379741b89b (patch)
tree90326666d50be0343f4b452c2c6c369934e5545b
parentc451bf370daa38a0a5b637406abbba2dcdc071d2 (diff)
Don't bother with a per-context lock for disconnecting devices
-rw-r--r--Alc/ALu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 602bd487..c92a29d3 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -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;