diff options
author | Chris Robinson <[email protected]> | 2018-01-24 18:42:00 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-24 18:47:19 -0800 |
commit | 2a7f5aa569d181a47c28c98e67dcadf275835b15 (patch) | |
tree | afb7fbbff40cb1b5adf08e282adb28d8dcf154ed /OpenAL32/event.c | |
parent | 1d86aea61c3d8b828ac3ceec585de4147f7909bf (diff) |
Add a deprecated event type for alDopplerVelocity
Diffstat (limited to 'OpenAL32/event.c')
-rw-r--r-- | OpenAL32/event.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/event.c b/OpenAL32/event.c index 88885f52..06db8713 100644 --- a/OpenAL32/event.c +++ b/OpenAL32/event.c @@ -31,6 +31,8 @@ AL_API void AL_APIENTRY alEventControlSOFT(ALsizei count, const ALenum *types, A flags |= EventType_Error; else if(types[i] == AL_EVENT_TYPE_PERFORMANCE_SOFT) flags |= EventType_Performance; + else if(types[i] == AL_EVENT_TYPE_DEPRECATED_SOFT) + flags |= EventType_Deprecated; else SETERR_GOTO(context, AL_INVALID_ENUM, 0, "Invalid event type", done); } |