aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/event.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-02-03 01:07:06 -0800
committerChris Robinson <[email protected]>2018-02-03 01:07:06 -0800
commit40bda4d93f15b5b089b6736eb9fd2d04f8e683eb (patch)
treee52b16dc302bf930848269e12ce379eab3396e02 /OpenAL32/event.c
parent8f4c078fb569d47dcd53bfb1b69ac2da8ebb0341 (diff)
Add a disconnected event type
Diffstat (limited to 'OpenAL32/event.c')
-rw-r--r--OpenAL32/event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/event.c b/OpenAL32/event.c
index 38c12d98..f65efc7c 100644
--- a/OpenAL32/event.c
+++ b/OpenAL32/event.c
@@ -61,6 +61,8 @@ AL_API void AL_APIENTRY alEventControlSOFT(ALsizei count, const ALenum *types, A
flags |= EventType_Performance;
else if(types[i] == AL_EVENT_TYPE_DEPRECATED_SOFT)
flags |= EventType_Deprecated;
+ else if(types[i] == AL_EVENT_TYPE_DISCONNECTED_SOFT)
+ flags |= EventType_Disconnected;
else
SETERR_GOTO(context, AL_INVALID_ENUM, done, "Invalid event type 0x%04x", types[i]);
}