aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-10-25 01:43:23 -0700
committerChris Robinson <[email protected]>2019-10-25 01:43:23 -0700
commit0cba99ed1bc2712c15c17f0940127e6f84395729 (patch)
treec5898dc9022da86450204f71579723c41d54bc92 /alc/alu.cpp
parent5ac1f192419a5d1d435a0f8703560823075799af (diff)
Avoid static constexpr for arrays iterated over at run-time
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r--alc/alu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp
index 5cd8c918..9bf052e1 100644
--- a/alc/alu.cpp
+++ b/alc/alu.cpp
@@ -509,7 +509,7 @@ void CalcPanningAndFilters(ALvoice *voice, const ALfloat xpos, const ALfloat ypo
ALeffectslot *(&SendSlots)[MAX_SENDS], const ALvoicePropsBase *props,
const ALlistener &Listener, const ALCdevice *Device)
{
- static constexpr ChanMap MonoMap[1]{
+ static const ChanMap MonoMap[1]{
{ FrontCenter, 0.0f, 0.0f }
}, RearMap[2]{
{ BackLeft, Deg2Rad(-150.0f), Deg2Rad(0.0f) },