From bb7b18d4e10b1f1e4d76847f58e0bf778584dc9e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 16 Jan 2008 13:20:09 -0800 Subject: Keep track of references to effect slots, so they aren't deleted while in use --- OpenAL32/Include/alAuxEffectSlot.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenAL32/Include/alAuxEffectSlot.h') 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; -- cgit v1.2.3