aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
Diffstat (limited to 'alc')
-rw-r--r--alc/context.h4
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;
}
}