aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-03 11:13:12 -0700
committerChris Robinson <[email protected]>2014-04-03 11:13:12 -0700
commit482fb37b688b94f5aff78a8dc34e78c1e2840058 (patch)
treed32b2e32aa76df381019151b137f420dde3a1ffe /Alc/ALc.c
parent570eb4e1a7efb15a93a8b70e9293de6523b63284 (diff)
Recognize NULL as an empty vector/string
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index b6cc3114..d0847018 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -2872,7 +2872,7 @@ ALC_API ALCcontext* ALC_APIENTRY alcCreateContext(ALCdevice *device, const ALCin
ALContext->ActiveSources = calloc(ALContext->MaxActiveSources,
sizeof(ALContext->ActiveSources[0]));
}
- if(!ALContext || !ALContext->ActiveAuxSlots || !ALContext->ActiveSources)
+ if(!ALContext || !ALContext->ActiveSources)
{
if(!device->ContextList)
{