Browse Source

Attempt to fix #859

pull/868/merge
Tux3 / Mlkj / !Lev.uXFMLA 11 years ago
parent
commit
a560909b6d
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 3
      src/audio.cpp

3
src/audio.cpp

@ -100,7 +100,10 @@ void Audio::openOutput(const QString& outDevDescr) @@ -100,7 +100,10 @@ void Audio::openOutput(const QString& outDevDescr)
else
{
if (alContext)
{
alcMakeContextCurrent(nullptr);
alcDestroyContext(alContext);
}
alContext=alcCreateContext(alOutDev,nullptr);
if (!alcMakeContextCurrent(alContext))
{

Loading…
Cancel
Save