From 482fb37b688b94f5aff78a8dc34e78c1e2840058 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 3 Apr 2014 11:13:12 -0700 Subject: Recognize NULL as an empty vector/string --- Alc/ALc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/ALc.c') 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) { -- cgit v1.2.3