aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alFilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alFilter.cpp')
-rw-r--r--OpenAL32/alFilter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alFilter.cpp b/OpenAL32/alFilter.cpp
index c4416a38..69a148b6 100644
--- a/OpenAL32/alFilter.cpp
+++ b/OpenAL32/alFilter.cpp
@@ -292,7 +292,7 @@ ALfilter *AllocFilter(ALCcontext *context)
if(UNLIKELY(device->FilterList.size() >= 1<<25))
{
alSetError(context, AL_OUT_OF_MEMORY, "Too many filters allocated");
- return NULL;
+ return nullptr;
}
device->FilterList.emplace_back();
sublist = device->FilterList.end() - 1;
@@ -302,7 +302,7 @@ ALfilter *AllocFilter(ALCcontext *context)
{
device->FilterList.pop_back();
alSetError(context, AL_OUT_OF_MEMORY, "Failed to allocate filter batch");
- return NULL;
+ return nullptr;
}
slidx = 0;