diff options
Diffstat (limited to 'Alc/alcontext.h')
-rw-r--r-- | Alc/alcontext.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Alc/alcontext.h b/Alc/alcontext.h index 6a7ac376..5eec2e96 100644 --- a/Alc/alcontext.h +++ b/Alc/alcontext.h @@ -1,6 +1,8 @@ #ifndef ALCONTEXT_H #define ALCONTEXT_H +#include <thread> + #include "AL/al.h" #include "AL/alc.h" #include "AL/alext.h" @@ -95,7 +97,7 @@ struct ALCcontext_struct { ATOMIC(ALeffectslotArray*) ActiveAuxSlots{nullptr}; - althrd_t EventThread; + std::thread EventThread; alsem_t EventSem; ll_ringbuffer *AsyncEvents{nullptr}; ATOMIC(ALbitfieldSOFT) EnabledEvts{0u}; |