diff options
author | Chris Robinson <[email protected]> | 2018-11-26 21:37:58 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-26 21:39:31 -0800 |
commit | 2e73c2ca929b6cea23195270fe144f9ad3ae5c27 (patch) | |
tree | 697d2e65e4ca6ee5bfcf718b37a6073b766bff70 /OpenAL32/event.cpp | |
parent | d8b9230ee4770095b0848aa38752e19d0090dd6a (diff) |
Use a standard mutex for the proplock
Diffstat (limited to 'OpenAL32/event.cpp')
-rw-r--r-- | OpenAL32/event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/event.cpp b/OpenAL32/event.cpp index 0491c7c6..233794bd 100644 --- a/OpenAL32/event.cpp +++ b/OpenAL32/event.cpp @@ -135,7 +135,7 @@ AL_API void AL_APIENTRY alEventCallbackSOFT(ALEVENTPROCSOFT callback, void *user ContextRef context{GetContextRef()}; if(UNLIKELY(!context)) return; - std::lock_guard<almtx_t> _{context->PropLock}; + std::lock_guard<std::mutex> _{context->PropLock}; std::lock_guard<std::mutex> __{context->EventCbLock}; context->EventCb = callback; context->EventParam = userParam; |