diff options
author | Chris Robinson <[email protected]> | 2018-11-27 13:41:30 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-27 13:41:30 -0800 |
commit | f26083e9edc6491f553aae951886d89b70288528 (patch) | |
tree | 1bb2b82ec786cbe2a98a3a5066c0be7c52dff1d1 /OpenAL32/alSource.cpp | |
parent | 3f745be1dc4df7ffeec89f1d90af41e139fb49db (diff) |
Make and use a semaphore class
Diffstat (limited to 'OpenAL32/alSource.cpp')
-rw-r--r-- | OpenAL32/alSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.cpp b/OpenAL32/alSource.cpp index d113ad40..a60701e7 100644 --- a/OpenAL32/alSource.cpp +++ b/OpenAL32/alSource.cpp @@ -705,7 +705,7 @@ void SendStateChangeEvent(ALCcontext *context, ALuint id, ALenum state) * it through the async queue to ensure proper ordering. */ if(ll_ringbuffer_write(context->AsyncEvents, &evt, 1) == 1) - alsem_post(&context->EventSem); + context->EventSem.post(); } |