diff options
author | Chris Robinson <[email protected]> | 2008-11-25 18:56:10 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-11-25 18:56:10 -0800 |
commit | 55b9ccc2deacf6870cabff704239caf2c85493fa (patch) | |
tree | 2b743e582670e48b9aa67ba830805a4e7d483d69 /Alc/ALu.c | |
parent | 67d67a3bf636dc2cdaf0faf75875e0a17cb29577 (diff) |
Implement AL_EXTX_source_distance_model
As with other EXTX extensions, this is subject to change and removal as the
spec gets worked on
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -324,7 +324,7 @@ static ALvoid CalcSourceParams(ALCcontext *ALContext, ALsource *ALSource, flAttenuation = 1.0f; RoomAttenuation = 1.0f; - switch (ALContext->DistanceModel) + switch (ALSource->DistanceModel) { case AL_INVERSE_DISTANCE_CLAMPED: Distance=__max(Distance,MinDist); |