aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-03-13 02:12:45 -0700
committerChris Robinson <[email protected]>2009-03-13 02:12:45 -0700
commit8d0c4ccb3b128348446f67b2e2895e51230d27b5 (patch)
tree14bdcbdc7e192e0c8737a9bd086b9a98fd0d84d0 /OpenAL32/alSource.c
parent8ee47d557356bbd358c2197a1a6a535b32c89820 (diff)
The room rolloff factor can go up to 10
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index f1ce4e85..c20f3a97 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -359,7 +359,7 @@ ALAPI ALvoid ALAPIENTRY alSourcef(ALuint source, ALenum eParam, ALfloat flValue)
break;
case AL_ROOM_ROLLOFF_FACTOR:
- if (flValue >= 0.0f && flValue <= 1.0f)
+ if (flValue >= 0.0f && flValue <= 10.0f)
pSource->RoomRolloffFactor = flValue;
else
alSetError(AL_INVALID_VALUE);