diff options
author | Chris Robinson <[email protected]> | 2018-11-18 22:45:55 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-18 22:50:04 -0800 |
commit | 362979cefb413e04dd4698d282779436e0a86bbc (patch) | |
tree | b51796cf1a6bab95a902e4d2e2cb1aade1da2681 /OpenAL32/Include/alMain.h | |
parent | 81aed2ea01904c73156ade21faa5f12806685f72 (diff) |
Use a normal vector for effect sublists
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 38c0471b..8a85f141 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -514,10 +514,9 @@ typedef struct BufferSubList { } BufferSubList; typedef struct EffectSubList { - ALuint64 FreeMask; - struct ALeffect *Effects; /* 64 */ + ALuint64 FreeMask{0u}; + struct ALeffect *Effects{nullptr}; /* 64 */ } EffectSubList; -TYPEDEF_VECTOR(EffectSubList, vector_EffectSubList) typedef struct FilterSubList { ALuint64 FreeMask; @@ -609,7 +608,7 @@ struct ALCdevice_struct { almtx_t BufferLock; // Map of Effects for this device - vector_EffectSubList EffectList{}; + al::vector<EffectSubList> EffectList; almtx_t EffectLock; // Map of Filters for this device |