diff options
-rw-r--r-- | OpenAL32/alSource.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |