aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/distortion.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-05-20 21:16:13 -0700
committerChris Robinson <[email protected]>2019-05-20 21:16:13 -0700
commit6dbd488d13d455f4538595cb5b30788048a6d20a (patch)
tree66104786541599ccbbcbe757a7195ae8efaaf980 /Alc/effects/distortion.cpp
parent136caf0cb097943aa4d06aba8205fe6cd90de4b7 (diff)
Avoid unnecessary use of CalcAngleCoeffs
Diffstat (limited to 'Alc/effects/distortion.cpp')
-rw-r--r--Alc/effects/distortion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/distortion.cpp b/Alc/effects/distortion.cpp
index 3639297f..d2bcd018 100644
--- a/Alc/effects/distortion.cpp
+++ b/Alc/effects/distortion.cpp
@@ -90,7 +90,7 @@ void DistortionState::update(const ALCcontext *context, const ALeffectslot *slot
);
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;