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:
parent
fef71de074
commit
f40a0cf29f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user