aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
Diffstat (limited to 'alc')
-rw-r--r--alc/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/events.cpp b/alc/events.cpp
index b14b1a8d..6c91261c 100644
--- a/alc/events.cpp
+++ b/alc/events.cpp
@@ -85,7 +85,7 @@ FORCE_ALIGN ALCboolean ALC_APIENTRY alcEventControlSOFT(ALCsizei count, const AL
auto eventlock = std::unique_lock{alc::EventMutex};
if(enable) alc::EventsEnabled |= eventSet;
- else alc::EventsEnabled &= eventSet;
+ else alc::EventsEnabled &= ~eventSet;
return ALC_TRUE;
}