diff options
author | Chris Robinson <[email protected]> | 2011-08-23 09:27:35 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-08-23 09:27:35 -0700 |
commit | 9f25ad42c1407ff1ddebf5e1d72b9de7f9957d9f (patch) | |
tree | a87a11c57e85b5902ed9582801369248e3a3b925 /OpenAL32/alSource.c | |
parent | 1d4dc7d7a9375ea8bc6fed47dfa126858c44cb5e (diff) |
Explicitly set BufferListStart's prev field
Diffstat (limited to 'OpenAL32/alSource.c')
-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 |