aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alAuxEffectSlot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.cpp')
-rw-r--r--OpenAL32/alAuxEffectSlot.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/alAuxEffectSlot.cpp b/OpenAL32/alAuxEffectSlot.cpp
index cab9e43d..d4608bf1 100644
--- a/OpenAL32/alAuxEffectSlot.cpp
+++ b/OpenAL32/alAuxEffectSlot.cpp
@@ -650,7 +650,7 @@ ALenum InitEffectSlot(ALeffectslot *slot)
if(!slot->Effect.State) return AL_OUT_OF_MEMORY;
slot->Effect.State->IncRef();
- slot->Params.EffectState = slot->Effect.State;
+ slot->Params.mEffectState = slot->Effect.State;
return AL_NO_ERROR;
}
@@ -666,8 +666,8 @@ ALeffectslot::~ALeffectslot()
if(Effect.State)
Effect.State->DecRef();
- if(Params.EffectState)
- Params.EffectState->DecRef();
+ if(Params.mEffectState)
+ Params.mEffectState->DecRef();
}
void UpdateEffectSlotProps(ALeffectslot *slot, ALCcontext *context)