aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/fshifter.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-30 09:05:54 -0700
committerChris Robinson <[email protected]>2019-07-30 09:05:54 -0700
commitea76e003e7f2063687ed662282d388078ecf385b (patch)
tree3f8bc57781ef077e9ef45e725bbf6cc583d6d2d6 /alc/effects/fshifter.cpp
parent488d1de9444d2866644a9e926089043186e6232b (diff)
Properly prefix ALCcontext members
Diffstat (limited to 'alc/effects/fshifter.cpp')
-rw-r--r--alc/effects/fshifter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/effects/fshifter.cpp b/alc/effects/fshifter.cpp
index b36c53a1..9b204d2e 100644
--- a/alc/effects/fshifter.cpp
+++ b/alc/effects/fshifter.cpp
@@ -109,7 +109,7 @@ ALboolean FshifterState::deviceUpdate(const ALCdevice*)
void FshifterState::update(const ALCcontext *context, const ALeffectslot *slot, const EffectProps *props, const EffectTarget target)
{
- const ALCdevice *device{context->Device};
+ const ALCdevice *device{context->mDevice};
ALfloat step{props->Fshifter.Frequency / static_cast<ALfloat>(device->Frequency)};
mPhaseStep = fastf2i(minf(step, 0.5f) * FRACTIONONE);