diff options
Diffstat (limited to 'OpenAL32/alFilter.c')
-rw-r--r-- | OpenAL32/alFilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alFilter.c b/OpenAL32/alFilter.c index c5d3ae31..0167462f 100644 --- a/OpenAL32/alFilter.c +++ b/OpenAL32/alFilter.c @@ -103,7 +103,7 @@ AL_API ALvoid AL_APIENTRY alDeleteFilters(ALsizei n, ALuint *filters) for (i = 0; i < n; i++) { // Recheck that the filter is valid, because there could be duplicated names - if (alIsFilter(filters[i])) + if (filters[i] && alIsFilter(filters[i])) { ALfilter **list; |