diff options
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alFontsound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alFontsound.c b/OpenAL32/alFontsound.c index 85ca25d6..663b1290 100644 --- a/OpenAL32/alFontsound.c +++ b/OpenAL32/alFontsound.c @@ -165,7 +165,7 @@ AL_API void AL_APIENTRY alFontsoundiSOFT(ALuint id, ALenum param, ALint value) break; case AL_SAMPLE_TYPE_SOFT: - if(!(value == 1)) + if(!(value >= 1 && value <= 4)) SET_ERROR_AND_GOTO(context, AL_INVALID_VALUE, done); sound->SampleType = value; break; |