diff options
Diffstat (limited to 'al/source.cpp')
-rw-r--r-- | al/source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/al/source.cpp b/al/source.cpp index 3c22b620..38c4ff54 100644 --- a/al/source.cpp +++ b/al/source.cpp @@ -500,7 +500,7 @@ bool EnsureSources(ALCcontext *context, size_t needed) size_t count{std::accumulate(context->mSourceList.cbegin(), context->mSourceList.cend(), size_t{0}, [](size_t cur, const SourceSubList &sublist) noexcept -> size_t - { return cur + static_cast<ALuint>(POPCNT64(~sublist.FreeMask)); } + { return cur + static_cast<ALuint>(POPCNT64(sublist.FreeMask)); } )}; while(needed > count) |