aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/alEffect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alEffect.c b/OpenAL32/alEffect.c
index b5f7a8b0..2582eae9 100644
--- a/OpenAL32/alEffect.c
+++ b/OpenAL32/alEffect.c
@@ -372,7 +372,7 @@ AL_API ALvoid AL_APIENTRY alEffectf(ALuint effect, ALenum param, ALfloat flValue
case AL_EAXREVERB_GAINHF:
if(flValue >= AL_EAXREVERB_MIN_GAINHF &&
- flValue <= AL_EAXREVERB_MAX_GAIN)
+ flValue <= AL_EAXREVERB_MAX_GAINHF)
ALEffect->Reverb.GainHF = flValue;
else
alSetError(Context, AL_INVALID_VALUE);