diff options
author | Chris Robinson <[email protected]> | 2011-09-11 09:29:24 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-11 09:29:24 -0700 |
commit | d9cb2baf4a99e691d63470f901cfb5c1fbb3e482 (patch) | |
tree | 3f1dbd6e9000598c6b6b4378b59cb73ca27c08ff /Alc | |
parent | 8f456f68ff15e3965ffdf579ed3f10bad996b594 (diff) |
Don't increment the context reference count when locked
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 |