From 8f4d6c48ce6621e2e2b79ada781b9e3dfc9ed38c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 4 Jul 2016 20:35:32 -0700 Subject: Use separate arrays for UIntMap keys and values --- OpenAL32/alSource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenAL32/alSource.c') diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index e79f0fc3..7d34f368 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -3373,8 +3373,8 @@ ALvoid ReleaseALSources(ALCcontext *Context) ALsizei pos; for(pos = 0;pos < Context->SourceMap.size;pos++) { - ALsource *temp = Context->SourceMap.array[pos].value; - Context->SourceMap.array[pos].value = NULL; + ALsource *temp = Context->SourceMap.values[pos]; + Context->SourceMap.values[pos] = NULL; DeinitSource(temp); -- cgit v1.2.3