From 9f25ad42c1407ff1ddebf5e1d72b9de7f9957d9f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 23 Aug 2011 09:27:35 -0700 Subject: Explicitly set BufferListStart's prev field --- OpenAL32/alSource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/alSource.c') diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index cf71e2e9..0b3f80ea 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -1657,8 +1657,8 @@ AL_API ALvoid AL_APIENTRY alSourceQueueBuffers(ALuint source, ALsizei n, const A while(BufferList->next != NULL) BufferList = BufferList->next; + BufferListStart->prev = BufferList; BufferList->next = BufferListStart; - BufferList->next->prev = BufferList; } // Update number of buffers in queue -- cgit v1.2.3