diff options
author | Chris Robinson <[email protected]> | 2018-11-25 07:40:15 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-25 07:40:15 -0800 |
commit | 7c0605f09eabb55cd3f1b85474b31bfae584cde9 (patch) | |
tree | 0d42c4640818627fb4eb4002ef5c4cbae11845a4 /OpenAL32 | |
parent | f5f2cdaaf334a1481d063cdf03893bfad1768475 (diff) |
Properly initialize the sublists' freemask
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 5adabb18..5ff1e064 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -552,17 +552,17 @@ typedef union AmbiConfig { typedef struct BufferSubList { - ALuint64 FreeMask{0u}; + ALuint64 FreeMask{~ALuint64{}}; struct ALbuffer *Buffers{nullptr}; /* 64 */ } BufferSubList; typedef struct EffectSubList { - ALuint64 FreeMask{0u}; + ALuint64 FreeMask{~ALuint64{}}; struct ALeffect *Effects{nullptr}; /* 64 */ } EffectSubList; typedef struct FilterSubList { - ALuint64 FreeMask{0u}; + ALuint64 FreeMask{~ALuint64{}}; struct ALfilter *Filters{nullptr}; /* 64 */ } FilterSubList; |