diff options
author | Chris Robinson <[email protected]> | 2019-07-30 09:05:54 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-30 09:05:54 -0700 |
commit | ea76e003e7f2063687ed662282d388078ecf385b (patch) | |
tree | 3f8bc57781ef077e9ef45e725bbf6cc583d6d2d6 /alc/effects/vmorpher.cpp | |
parent | 488d1de9444d2866644a9e926089043186e6232b (diff) |
Properly prefix ALCcontext members
Diffstat (limited to 'alc/effects/vmorpher.cpp')
-rw-r--r-- | alc/effects/vmorpher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/effects/vmorpher.cpp b/alc/effects/vmorpher.cpp index d1bf8587..ae8c98e1 100644 --- a/alc/effects/vmorpher.cpp +++ b/alc/effects/vmorpher.cpp @@ -210,7 +210,7 @@ ALboolean VmorpherState::deviceUpdate(const ALCdevice* /*device*/) void VmorpherState::update(const ALCcontext *context, const ALeffectslot *slot, const EffectProps *props, const EffectTarget target) { - const ALCdevice *device{context->Device}; + const ALCdevice *device{context->mDevice}; const ALfloat frequency{static_cast<ALfloat>(device->Frequency)}; const ALfloat step{props->Vmorpher.Rate / static_cast<ALfloat>(device->Frequency)}; mStep = fastf2i(clampf(step*WAVEFORM_FRACONE, 0.0f, ALfloat{WAVEFORM_FRACONE-1})); |