diff options
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index 797c8237..2d8cf06f 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -264,7 +264,10 @@ AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSlotf(ALuint effectslot, ALenum param { case AL_EFFECTSLOT_GAIN: if(flValue >= 0.0f && flValue <= 1.0f) + { EffectSlot->Gain = flValue; + EffectSlot->NeedsUpdate = AL_TRUE; + } else alSetError(Context, AL_INVALID_VALUE); break; |