diff options
author | Boris I. Bendovsky <[email protected]> | 2022-07-14 21:56:35 +0300 |
---|---|---|
committer | Boris I. Bendovsky <[email protected]> | 2022-07-17 20:59:05 +0300 |
commit | f7b4dd002f6d87978f4f42f1a72aa2daa3aac43f (patch) | |
tree | 21614ee0f83e2964081665d241cd0e4862598cc1 /alc | |
parent | 1a2f659d89c116896dd6dcb0a4dd1b44bed37934 (diff) |
[EAX_CONTEXT] Fix committing of a property value
Diffstat (limited to 'alc')
-rw-r--r-- | alc/context.h | 4 |
1 files changed, 3 insertions, 1 deletions
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; } } |