aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 6ce6feaa..627cc8c8 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -2171,12 +2171,7 @@ ALC_API ALCcontext* ALC_APIENTRY alcGetCurrentContext(ALCvoid)
ALCcontext *Context;
Context = pthread_getspecific(LocalContext);
- if(!Context)
- {
- LockLists();
- Context = GlobalContext;
- UnlockLists();
- }
+ if(!Context) Context = GlobalContext;
return Context;
}