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 /Alc/alcontext.h | |
parent | f5f2cdaaf334a1481d063cdf03893bfad1768475 (diff) |
Properly initialize the sublists' freemask
Diffstat (limited to 'Alc/alcontext.h')
-rw-r--r-- | Alc/alcontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcontext.h b/Alc/alcontext.h index c9bdddc7..b1bbd1af 100644 --- a/Alc/alcontext.h +++ b/Alc/alcontext.h @@ -42,7 +42,7 @@ enum class DistanceModel { }; struct SourceSubList { - uint64_t FreeMask{0u}; + uint64_t FreeMask{~uint64_t{}}; ALsource *Sources{nullptr}; /* 64 */ }; |