aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index a6b5707e..cbbacaa2 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1556,14 +1556,12 @@ static void ReleaseThreadCtx(void *ptr)
ALCvoid LockContext(ALCcontext *context)
{
- ALCcontext_IncRef(context);
EnterCriticalSection(&context->Device->Mutex);
}
ALCvoid UnlockContext(ALCcontext *context)
{
LeaveCriticalSection(&context->Device->Mutex);
- ALCcontext_DecRef(context);
}
/* GetContextRef