diff options
author | Chris Robinson <[email protected]> | 2010-05-18 17:41:06 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-05-18 17:41:06 -0700 |
commit | 4edd7fe6476dc83fae162ab694984b17924968c3 (patch) | |
tree | 2dbb88d8498d10d4dfb2b34dc6123e273be487d9 /OpenAL32/Include | |
parent | ad5dfab428f9eea071cb0c17808d672c84d78ebb (diff) |
Use a map for the effects list
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alEffect.h | 2 | ||||
-rw-r--r-- | OpenAL32/Include/alMain.h | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h index 6cbf0e5d..500b60a1 100644 --- a/OpenAL32/Include/alEffect.h +++ b/OpenAL32/Include/alEffect.h @@ -71,8 +71,6 @@ typedef struct ALeffect // Index to itself ALuint effect; - - struct ALeffect *next; } ALeffect; diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index a0251042..9b1bcca9 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -358,9 +358,8 @@ struct ALCdevice_struct // Map of Buffers for this device UIntMap BufferMap; - // Linked List of Effects for this device - struct ALeffect *EffectList; - ALuint EffectCount; + // Map of Effects for this device + UIntMap EffectMap; // Linked List of Filters for this device struct ALfilter *FilterList; |