aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r--Alc/alc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp
index 3247e14c..10a1511e 100644
--- a/Alc/alc.cpp
+++ b/Alc/alc.cpp
@@ -2277,7 +2277,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
if(state->deviceUpdate(device) == AL_FALSE)
update_failed = AL_TRUE;
else
- UpdateEffectSlotProps(slot, context);
+ UpdateEffectSlotProps(slot.get(), context);
}
almtx_unlock(&context->EffectSlotLock);