aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-07-13 04:49:39 -0700
committerChris Robinson <[email protected]>2022-07-13 04:49:39 -0700
commit86094e87a575ef621d5d2550ed807ffeb6e5036d (patch)
tree094a849b54690ad620636c4f7582683d1a4410ee /alc/context.cpp
parent10c22f6f82e306b36faf2800e0347243174bad98 (diff)
Don't commit EAX properties when not initialized
Diffstat (limited to 'alc/context.cpp')
-rw-r--r--alc/context.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/alc/context.cpp b/alc/context.cpp
index f2dcb088..9f4e9b5a 100644
--- a/alc/context.cpp
+++ b/alc/context.cpp
@@ -254,7 +254,8 @@ void ALCcontext::applyAllUpdates()
}
#ifdef ALSOFT_EAX
- eax_commit();
+ if(eax_is_initialized_)
+ eax_commit();
#endif
if(std::exchange(mPropsDirty, false))
UpdateContextProps(this);