mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-18 23:41:38 +00:00
Use AL_BUFFERS_QUEUED at stream shutdown.
This commit is contained in:
parent
492b7c1a2b
commit
e9605e8a8b
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ static void S_AL_StreamDie( void )
|
|||
qalSourceStop(streamSource);
|
||||
|
||||
// Un-queue any buffers, and delete them
|
||||
qalGetSourcei( streamSource, AL_BUFFERS_PROCESSED, &numBuffers );
|
||||
qalGetSourcei( streamSource, AL_BUFFERS_QUEUED, &numBuffers );
|
||||
while( numBuffers-- )
|
||||
{
|
||||
ALuint buffer;
|
||||
|
|
Loading…
Reference in a new issue