aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/distortion.cpp
diff options
context:
space:
mode:
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 a74575d4..79278f0d 100644
--- a/alc/effects/distortion.cpp
+++ b/alc/effects/distortion.cpp
@@ -64,7 +64,7 @@ ALboolean DistortionState::deviceUpdate(const ALCdevice*)
void DistortionState::update(const ALCcontext *context, const ALeffectslot *slot, const EffectProps *props, const EffectTarget target)
{
- const ALCdevice *device{context->Device};
+ const ALCdevice *device{context->mDevice};
/* Store waveshaper edge settings. */
const ALfloat edge{