aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alListener.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-05-17 20:02:46 -0700
committerChris Robinson <[email protected]>2016-05-17 20:02:46 -0700
commitaff725cba3f64cb668acf64b8f547a128a8976d1 (patch)
tree158964bb2d5fb9c812c15abce81d62e84b84f6b5 /OpenAL32/alListener.c
parent82675c018dab303ce39665512f0ae847d01289da (diff)
Avoid redundantly storing distance model settings
Diffstat (limited to 'OpenAL32/alListener.c')
-rw-r--r--OpenAL32/alListener.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenAL32/alListener.c b/OpenAL32/alListener.c
index c59d644b..c7f4955a 100644
--- a/OpenAL32/alListener.c
+++ b/OpenAL32/alListener.c
@@ -514,10 +514,6 @@ void UpdateListenerProps(ALCcontext *context)
ATOMIC_STORE(&props->DopplerVelocity, context->DopplerVelocity, almemory_order_relaxed);
ATOMIC_STORE(&props->SpeedOfSound, context->SpeedOfSound, almemory_order_relaxed);
- ATOMIC_STORE(&props->SourceDistanceModel, context->SourceDistanceModel,
- almemory_order_relaxed);
- ATOMIC_STORE(&props->DistanceModel, context->DistanceModel, almemory_order_relaxed);
-
/* Set the new container for updating internal parameters. */
props = ATOMIC_EXCHANGE(struct ALlistenerProps*, &listener->Update, props, almemory_order_acq_rel);
if(props)