diff options
Diffstat (limited to 'OpenAL32/event.c')
-rw-r--r-- | OpenAL32/event.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenAL32/event.c b/OpenAL32/event.c index a76746bd..c0bf4204 100644 --- a/OpenAL32/event.c +++ b/OpenAL32/event.c @@ -73,7 +73,6 @@ AL_API void AL_APIENTRY alEventControlSOFT(ALsizei count, const ALenum *types, A SETERR_GOTO(context, AL_INVALID_ENUM, done, "Invalid event type 0x%04x", types[i]); } - almtx_lock(&context->EventThrdLock); if(enable) { enabledevts = ATOMIC_LOAD(&context->EnabledEvts, almemory_order_relaxed); @@ -98,7 +97,6 @@ AL_API void AL_APIENTRY alEventControlSOFT(ALsizei count, const ALenum *types, A almtx_lock(&context->EventCbLock); almtx_unlock(&context->EventCbLock); } - almtx_unlock(&context->EventThrdLock); done: ALCcontext_DecRef(context); |