From f7b4dd002f6d87978f4f42f1a72aa2daa3aac43f Mon Sep 17 00:00:00 2001 From: "Boris I. Bendovsky" Date: Thu, 14 Jul 2022 21:56:35 +0300 Subject: [EAX_CONTEXT] Fix committing of a property value --- alc/context.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'alc') diff --git a/alc/context.h b/alc/context.h index 2b1fac75..a4a4aea9 100644 --- a/alc/context.h +++ b/alc/context.h @@ -450,7 +450,9 @@ private: if((eax_df_ & TDirtyBit) != EaxDirtyFlags{}) { dst_df |= TDirtyBit; - eax_.*member = state.i.*member; + const auto& src_d = state.d.*member; + state.i.*member = src_d; + eax_.*member = src_d; } } -- cgit v1.2.3