diff options
author | Chris Robinson <[email protected]> | 2022-02-08 16:49:37 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-02-08 16:49:37 -0800 |
commit | 46a836fa1417dd93d944fa7b4865dc135947d26c (patch) | |
tree | cc5c26d24d74dcd23c4a3376497c94e88594a6ad /alc | |
parent | 7864895ab6082ffc6532e9cd2795ad66996a365d (diff) |
Actually defer EAXCONTEXT_ALLPARAMETERS properties
Diffstat (limited to 'alc')
-rw-r--r-- | alc/context.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/alc/context.cpp b/alc/context.cpp index 3dff6815..1bee2ea7 100644 --- a/alc/context.cpp +++ b/alc/context.cpp @@ -1189,30 +1189,30 @@ void ALCcontext::eax_defer_context_all( void ALCcontext::eax_defer_context_all( const EaxEaxCall& eax_call) { - switch (eax_call.get_version()) + switch(eax_call.get_version()) { - case 4: - { - const auto& context_all = - eax_call.get_value<ContextException, EAX40CONTEXTPROPERTIES>(); - - eax_validate_context_all(context_all); - } - - break; + case 4: + { + const auto& context_all = + eax_call.get_value<ContextException, EAX40CONTEXTPROPERTIES>(); - case 5: - { - const auto& context_all = - eax_call.get_value<ContextException, EAX50CONTEXTPROPERTIES>(); + eax_validate_context_all(context_all); + eax_defer_context_all(context_all); + } + break; - eax_validate_context_all(context_all); - } + case 5: + { + const auto& context_all = + eax_call.get_value<ContextException, EAX50CONTEXTPROPERTIES>(); - break; + eax_validate_context_all(context_all); + eax_defer_context_all(context_all); + } + break; - default: - eax_fail("Unsupported EAX version."); + default: + eax_fail("Unsupported EAX version."); } } |