mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-18 23:41:38 +00:00
Delete all OpenAL sources at shutdown
This commit is contained in:
parent
e9066663c4
commit
90d0811185
1 changed files with 2 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue