Merge pull request #100 from O1L/master

This commit is contained in:
Alexandro Sánchez Bach 2014-03-11 20:14:39 +01:00
parent 5c563d04c7
commit fb1b57720c
7 changed files with 308 additions and 7 deletions

View file

@ -69,7 +69,7 @@ void OpenALThread::Stop()
void OpenALThread::Open(const void* src, ALsizei size)
{
alGenSources(1, &mSource); // WARNING: Memory leaks!
alGenSources(1, &mSource);
checkForAlError("alGenSources");
alSourcei(mSource, AL_LOOPING, AL_FALSE);