aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/modulator.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-11 03:45:23 -0800
committerChris Robinson <[email protected]>2018-01-11 03:45:23 -0800
commit15f9d15ba006fab67a3ace8b2560c3397e75b1aa (patch)
treeb65235f68b7b76ca1943ce2442d79ef972f2cfc0 /Alc/effects/modulator.c
parent279799ad7020360e59763cbd80af82e202357c51 (diff)
Avoid using macros to access anonymous structures
Diffstat (limited to 'Alc/effects/modulator.c')
-rw-r--r--Alc/effects/modulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/modulator.c b/Alc/effects/modulator.c
index af64448d..70751d87 100644
--- a/Alc/effects/modulator.c
+++ b/Alc/effects/modulator.c
@@ -148,7 +148,7 @@ static ALvoid ALmodulatorState_update(ALmodulatorState *state, const ALCcontext
STATIC_CAST(ALeffectState,state)->OutBuffer = device->FOAOut.Buffer;
STATIC_CAST(ALeffectState,state)->OutChannels = device->FOAOut.NumChannels;
for(i = 0;i < MAX_EFFECT_CHANNELS;i++)
- ComputeFirstOrderGains(device->FOAOut, IdentityMatrixf.m[i],
+ ComputeFirstOrderGains(&device->FOAOut, IdentityMatrixf.m[i],
slot->Params.Gain, state->Gain[i]);
}