aboutsummaryrefslogtreecommitdiffstats
path: root/al/state.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-05-10 06:46:10 -0700
committerChris Robinson <[email protected]>2022-05-10 06:46:10 -0700
commit23b4611cd093afa3301103ac5921755436168791 (patch)
tree1247a1c700a2d82b1c0cb31227b54aa18cbbd689 /al/state.cpp
parentc870e550fa37d10e8a9d7d15ef1d6370d1e0399e (diff)
Properly set the air absorption gain base
Diffstat (limited to 'al/state.cpp')
-rw-r--r--al/state.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/al/state.cpp b/al/state.cpp
index 8142890e..1a07f624 100644
--- a/al/state.cpp
+++ b/al/state.cpp
@@ -943,6 +943,7 @@ void UpdateContextProps(ALCcontext *context)
props->Gain = listener.Gain;
props->MetersPerUnit = listener.mMetersPerUnit;
+ props->AirAbsorptionGainHF = context->mAirAbsorptionGainHF;
props->DopplerFactor = context->mDopplerFactor;
props->DopplerVelocity = context->mDopplerVelocity;
props->SpeedOfSound = context->mSpeedOfSound;