aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-02-22 22:03:04 -0800
committerChris Robinson <[email protected]>2019-02-22 22:03:04 -0800
commit45378fe6872fc0e27f1865fe909b22788d486c7b (patch)
tree6e558b393dc221f3298a11db582a64a334c1015d /Alc
parent5b35e60a980815bf7b4310afcc5004bd36bd92f6 (diff)
Remove the unused FOAOut EffectTarget
Diffstat (limited to 'Alc')
-rw-r--r--Alc/alu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp
index 95889626..f835f9fd 100644
--- a/Alc/alu.cpp
+++ b/Alc/alu.cpp
@@ -449,12 +449,12 @@ bool CalcEffectSlotParams(ALeffectslot *slot, ALCcontext *context, bool force)
params.Buffer = &reinterpret_cast<ALfloat(&)[BUFFERSIZE]>(target->WetBuffer[0]);
params.NumChannels = target->WetBuffer.size();
- output = EffectTarget{&params, &params, nullptr};
+ output = EffectTarget{&params, nullptr};
}
else
{
ALCdevice *device{context->Device};
- output = EffectTarget{&device->Dry, &device->FOAOut, &device->RealOut};
+ output = EffectTarget{&device->Dry, &device->RealOut};
}
state->update(context, slot, &slot->Params.EffectProps, output);
return true;