1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-23 02:42:39 +01:00

Make the SoundManager OpenAL context current

This commit is contained in:
Timmy Sjöstedt 2016-05-28 02:15:31 +02:00
parent fef71de074
commit f40a0cf29f

View File

@ -69,6 +69,11 @@ bool SoundManager::initializeOpenAL()
return false;
}
if ( ! alcMakeContextCurrent(alContext)) {
std::cerr << "Unable to make OpenAL context current!" << std::endl;
return false;
}
return true;
}