Assert that there's a buffer for mixing

For Clang's static analysis.
This commit is contained in:
Chris Robinson
2014-12-17 10:57:35 -08:00
parent 4b91d34d58
commit 6086c344dc
+1
View File
@@ -242,6 +242,7 @@ ALvoid MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALuint Sam
}
BufferListItem = BufferListItem->next;
}
assert(BufferListItem != NULL);
IrSize = (Device->Hrtf ? GetHrtfIrSize(Device->Hrtf) : 0);