Delete all OpenAL sources at shutdown

This commit is contained in:
Yamagi Burmeister 2012-04-23 13:55:25 +00:00
parent e9066663c4
commit 90d0811185

View file

@ -121,6 +121,8 @@ fail:
void AL_Shutdown( void ) {
Com_Printf( "Shutting down OpenAL.\n" );
qalDeleteSources(1, &streamSource);
if( s_numchannels ) {
// delete source names
qalDeleteSources( s_numchannels, s_srcnums );