diff options
author | Chris Robinson <[email protected]> | 2018-11-24 12:09:37 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-24 12:09:37 -0800 |
commit | 6a84a2ca614f368791dd9e03139f47601bff42c7 (patch) | |
tree | 6c4b28fc955a27f03f1e585156dcb826e642de18 /OpenAL32 | |
parent | d83cff02e5ac6f35231df6ce6a1e61ee21a6a41c (diff) |
Fix a couple comments
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alFilter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alFilter.cpp b/OpenAL32/alFilter.cpp index 62ceba97..bda03fae 100644 --- a/OpenAL32/alFilter.cpp +++ b/OpenAL32/alFilter.cpp @@ -405,7 +405,7 @@ AL_API ALvoid AL_APIENTRY alDeleteFilters(ALsizei n, const ALuint *filters) ALCdevice *device{context->Device}; std::lock_guard<almtx_t> _{device->FilterLock}; - /* First try to find any buffers that are invalid or in-use. */ + /* First try to find any filters that are invalid. */ const ALuint *filters_end = filters + n; auto invflt = std::find_if(filters, filters_end, [device, &context](ALuint fid) -> bool @@ -422,7 +422,7 @@ AL_API ALvoid AL_APIENTRY alDeleteFilters(ALsizei n, const ALuint *filters) ); if(LIKELY(invflt == filters_end)) { - /* All good. Delete non-0 buffer IDs. */ + /* All good. Delete non-0 filter IDs. */ std::for_each(filters, filters_end, [device](ALuint fid) -> void { |