diff options
author | Chris Robinson <[email protected]> | 2014-04-03 11:13:12 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-04-03 11:13:12 -0700 |
commit | 482fb37b688b94f5aff78a8dc34e78c1e2840058 (patch) | |
tree | d32b2e32aa76df381019151b137f420dde3a1ffe /Alc/ALc.c | |
parent | 570eb4e1a7efb15a93a8b70e9293de6523b63284 (diff) |
Recognize NULL as an empty vector/string
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |