1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-25 15:11:33 +00:00

Clear unused buffers after unloading them all

This commit is contained in:
Chris Robinson 2015-11-24 04:54:54 -08:00
parent 5ad772c3b3
commit 574c1923fe

View file

@ -108,6 +108,7 @@ namespace MWSound
mOutput->unloadSound(sfxiter->mHandle); mOutput->unloadSound(sfxiter->mHandle);
sfxiter->mHandle = 0; sfxiter->mHandle = 0;
} }
mUnusedBuffers.clear();
} }
mOutput.reset(); mOutput.reset();
} }