diff options
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 |