diff options
author | Chris Robinson <[email protected]> | 2018-11-21 05:35:47 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-21 05:35:47 -0800 |
commit | 75213ee6f951355906bd1744a2936bb764f23e40 (patch) | |
tree | ad33740d5373728f995213e60af6d06d19782ccb /Alc/alcontext.h | |
parent | 757c42c74bb1f88dfc6f24200382a0ea741fccac (diff) |
Always use RAII with EffectSlotLock
Diffstat (limited to 'Alc/alcontext.h')
-rw-r--r-- | Alc/alcontext.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Alc/alcontext.h b/Alc/alcontext.h index 26616f18..c9cfa985 100644 --- a/Alc/alcontext.h +++ b/Alc/alcontext.h @@ -135,11 +135,6 @@ void UpdateContextProps(ALCcontext *context); void ALCcontext_DeferUpdates(ALCcontext *context); void ALCcontext_ProcessUpdates(ALCcontext *context); -inline void LockEffectSlotList(ALCcontext *context) -{ almtx_lock(&context->EffectSlotLock); } -inline void UnlockEffectSlotList(ALCcontext *context) -{ almtx_unlock(&context->EffectSlotLock); } - /* Simple RAII context reference. Takes the reference of the provided * ALCcontext, and decrements it when leaving scope. Movable (transfer |