diff options
author | Chris Robinson <[email protected]> | 2019-05-20 21:16:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-05-20 21:16:13 -0700 |
commit | 6dbd488d13d455f4538595cb5b30788048a6d20a (patch) | |
tree | 66104786541599ccbbcbe757a7195ae8efaaf980 /Alc/effects/dedicated.cpp | |
parent | 136caf0cb097943aa4d06aba8205fe6cd90de4b7 (diff) |
Avoid unnecessary use of CalcAngleCoeffs
Diffstat (limited to 'Alc/effects/dedicated.cpp')
-rw-r--r-- | Alc/effects/dedicated.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/dedicated.cpp b/Alc/effects/dedicated.cpp index 4c528a61..14d0c3c8 100644 --- a/Alc/effects/dedicated.cpp +++ b/Alc/effects/dedicated.cpp @@ -81,7 +81,7 @@ void DedicatedState::update(const ALCcontext* UNUSED(context), const ALeffectslo else { ALfloat coeffs[MAX_AMBI_CHANNELS]; - CalcAngleCoeffs(0.0f, 0.0f, 0.0f, coeffs); + CalcDirectionCoeffs({0.0f, 0.0f, -1.0f}, 0.0f, coeffs); mOutBuffer = target.Main->Buffer; mOutChannels = target.Main->NumChannels; |