diff options
author | Chris Robinson <[email protected]> | 2011-05-20 09:19:53 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-05-20 09:19:53 -0700 |
commit | 1b5caa4112bf76d6b046d33a65d29d94daf03f43 (patch) | |
tree | caaa6072b588c6273a8c7e9be367bda4f707b3cc /OpenAL32/alEffect.c | |
parent | cbbb04eb409c9e9f675974a7a45ae28b93c3ec1f (diff) |
Check against the correct limits
Diffstat (limited to 'OpenAL32/alEffect.c')
-rw-r--r-- | OpenAL32/alEffect.c | 2 |
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); |