aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-06-18 20:12:15 -0700
committerChris Robinson <[email protected]>2022-06-19 07:44:01 -0700
commita6c099c63e87b4e3c91bbdcd102a3df2d4d05c8e (patch)
treec03c132f06154e19d1db49b6e27582521781aecf /al/source.h
parent3f05208c50f09abbb0bc66a3f2f9775c45d083b4 (diff)
Track EAX1 source changes
Even though it's only a single value, this allows for not having to explicitly track version changes, since the version being changed to will always have a property change, implicitly marking an EAX update/commit for the source.
Diffstat (limited to 'al/source.h')
-rw-r--r--al/source.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/source.h b/al/source.h
index 850ce64f..5bfa6616 100644
--- a/al/source.h
+++ b/al/source.h
@@ -200,6 +200,7 @@ private:
using Eax1Props = EAXBUFFER_REVERBPROPERTIES;
struct Eax1State {
+ bool changed{false};
Eax1Props i; // Immediate.
Eax1Props d; // Deferred.
};
@@ -258,7 +259,6 @@ private:
ALCcontext* eax_al_context_{};
EaxFxSlotIndex eax_primary_fx_slot_id_{};
EaxActiveFxSlots eax_active_fx_slots_{};
- bool eax_is_version_changed_{};
int eax_version_{};
Eax1State eax1_{};
Eax2State eax2_{};