aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alFilter.cpp
diff options
context:
space:
mode:
authorFilip Gawin <[email protected]>2019-01-07 12:37:13 +0100
committerFilip Gawin <[email protected]>2019-01-07 12:37:13 +0100
commit0537414bafe80e5e32486672ddce82581fb5e1c3 (patch)
treec24a0957f54fb11b85bc2ba76e301cbfa2c3ebf3 /OpenAL32/alFilter.cpp
parentfababe76c4f0482fb2527ef931b84681dd133ca6 (diff)
Use nullptr in cpp files
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;