diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-02-06 01:26:53 +0200 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-02-09 01:31:50 +0200 |
commit | 4cec3133197cd39efd607b82169a85f56c77aa68 (patch) | |
tree | d4b79a730b82c4b56896c0377e2c1ee091410ba9 /indra/llaudio/llaudioengine_openal.cpp | |
parent | 78dc1c872aa966de010ca94c4d7a651259679502 (diff) |
SL-19585 Switch OpenAL's wind to float
Fixes wind being odly distorted
Diffstat (limited to 'indra/llaudio/llaudioengine_openal.cpp')
-rw-r--r-- | indra/llaudio/llaudioengine_openal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llaudio/llaudioengine_openal.cpp b/indra/llaudio/llaudioengine_openal.cpp index 0a79614424..40d7988309 100644 --- a/indra/llaudio/llaudioengine_openal.cpp +++ b/indra/llaudio/llaudioengine_openal.cpp @@ -518,7 +518,7 @@ void LLAudioEngine_OpenAL::updateWind(LLVector3 wind_vec, F32 camera_altitude) } alBufferData(buffer, - AL_FORMAT_STEREO16, + AL_FORMAT_STEREO_FLOAT32, mWindGen->windGenerate(mWindBuf, mWindBufSamples), mWindBufBytes, |