Minor fix that makes sf::SoundStream less crazy when the internal AL source couldn't be created
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1732 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
0ed20bf130
commit
6ce458939e
@ -221,7 +221,7 @@ void SoundStream::Stream()
|
||||
}
|
||||
|
||||
// Get the number of buffers that have been processed (ie. ready for reuse)
|
||||
ALint nbProcessed;
|
||||
ALint nbProcessed = 0;
|
||||
ALCheck(alGetSourcei(mySource, AL_BUFFERS_PROCESSED, &nbProcessed));
|
||||
|
||||
while (nbProcessed--)
|
||||
|
Loading…
Reference in New Issue
Block a user