From 86094e87a575ef621d5d2550ed807ffeb6e5036d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 13 Jul 2022 04:49:39 -0700 Subject: Don't commit EAX properties when not initialized --- alc/context.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'alc') 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); -- cgit v1.2.3