aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-16 13:20:09 -0800
committerChris Robinson <[email protected]>2008-01-16 13:20:09 -0800
commitbb7b18d4e10b1f1e4d76847f58e0bf778584dc9e (patch)
tree52dbc231ca022d217acab62ec408fdfec36ea4f0 /OpenAL32/Include
parent4742dedb4504f1d9925101a3aa7e5db27fc8370f (diff)
Keep track of references to effect slots, so they aren't deleted while in use
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alAuxEffectSlot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h
index dba2c207..66b3ba20 100644
--- a/OpenAL32/Include/alAuxEffectSlot.h
+++ b/OpenAL32/Include/alAuxEffectSlot.h
@@ -21,6 +21,8 @@ typedef struct ALeffectslot
ALfloat Gain;
ALboolean AuxSendAuto;
+ ALuint refcount;
+
// Index to itself
ALuint effectslot;