diff options
author | Chris Robinson <[email protected]> | 2016-08-29 01:53:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-08-29 01:53:52 -0700 |
commit | 54649851fa8769c2290741c63e2255b13eec3824 (patch) | |
tree | 7674045407c3664dc0c89eadbc9e3be24afc5ae8 /OpenAL32/alSource.c | |
parent | 5bf0c6425868c2cd581786cfb0b74b96d4c07992 (diff) |
Remove the upper limit from AL_MIN_GAIN and AL_MAX_GAIN
As per the current AL_SOFT_gain_clamp_ex proposal.
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r-- | OpenAL32/alSource.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index a7d7f35c..f20498f4 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -453,14 +453,14 @@ static ALboolean SetSourcefv(ALsource *Source, ALCcontext *Context, SourceProp p return AL_TRUE; case AL_MIN_GAIN: - CHECKVAL(*values >= 0.0f && *values <= 1.0f); + CHECKVAL(*values >= 0.0f); Source->MinGain = *values; DO_UPDATEPROPS(); return AL_TRUE; case AL_MAX_GAIN: - CHECKVAL(*values >= 0.0f && *values <= 1.0f); + CHECKVAL(*values >= 0.0f); Source->MaxGain = *values; DO_UPDATEPROPS(); |