diff options
author | Chris Robinson <[email protected]> | 2013-12-27 01:08:48 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-12-27 01:08:48 -0800 |
commit | 2b772a5607c2147d68eb8e45b04b2f381ec6c0ad (patch) | |
tree | f48112dfc4910c36d63e3c78834448cdc3bc04e4 /OpenAL32/alFontsound.c | |
parent | 307ac564ca68abf8a3a24b2d0f7c1e2efb13a4be (diff) |
Allow specifying all 4 sample types
ROM-based types will be specified with a separate property
Diffstat (limited to 'OpenAL32/alFontsound.c')
-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; |