aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-05-15 01:19:05 -0700
committerChris Robinson <[email protected]>2016-05-15 01:19:05 -0700
commit576c1116a65bd66effce6d92d1aa7e21d1dee83a (patch)
tree5b7137d90d74e005c9a042ed2c1eef8b4858d7b8 /OpenAL32/Include
parentb3338d25f6d4fd02935ac83d0d3f227b145307d1 (diff)
Avoid using a flag to specify if the effect state needs to be updated
This fixes a potential missed state change if an update with a new state got replaced with one that doesn't.
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alAuxEffectSlot.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h
index 28c0b46f..85d730f8 100644
--- a/OpenAL32/Include/alAuxEffectSlot.h
+++ b/OpenAL32/Include/alAuxEffectSlot.h
@@ -79,8 +79,6 @@ struct ALeffectslotProps {
ATOMIC(ALenum) Type;
ALeffectProps Props;
- /* Flag indicates if State should be updated. */
- ATOMIC(ALboolean) UpdateState;
ATOMIC(ALeffectState*) State;
ATOMIC(struct ALeffectslotProps*) next;
@@ -140,7 +138,7 @@ inline struct ALeffectslot *RemoveEffectSlot(ALCcontext *context, ALuint id)
ALenum InitEffectSlot(ALeffectslot *slot);
void DeinitEffectSlot(ALeffectslot *slot);
-void UpdateEffectSlotProps(ALeffectslot *slot, ALboolean withstate);
+void UpdateEffectSlotProps(ALeffectslot *slot);
ALvoid ReleaseALAuxiliaryEffectSlots(ALCcontext *Context);