aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alu.cpp
diff options
context:
space:
mode:
authorkcat <[email protected]>2019-01-07 04:36:50 -0800
committerGitHub <[email protected]>2019-01-07 04:36:50 -0800
commit2a7f27ca58f9897be06fe815a46ea76a01734a0b (patch)
treeca9aa7e99770f175209e50f1f88ed3e9b656c89b /Alc/alu.cpp
parent4d047e2bc166e8155dd9714e53efda09def2b6ef (diff)
parent0537414bafe80e5e32486672ddce82581fb5e1c3 (diff)
Merge pull request #260 from ShFil119/impr/nullptr
Use nullptr in cpp files
Diffstat (limited to 'Alc/alu.cpp')
-rw-r--r--Alc/alu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp
index 7d2709ea..77505a0c 100644
--- a/Alc/alu.cpp
+++ b/Alc/alu.cpp
@@ -1012,8 +1012,8 @@ void CalcNonAttnSourceParams(ALvoice *voice, const ALvoicePropsBase *props, cons
SendSlots[i] = ALContext->DefaultSlot.get();
if(!SendSlots[i] || SendSlots[i]->Params.EffectType == AL_EFFECT_NULL)
{
- SendSlots[i] = NULL;
- voice->Send[i].Buffer = NULL;
+ SendSlots[i] = nullptr;
+ voice->Send[i].Buffer = nullptr;
voice->Send[i].Channels = 0;
}
else