mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
At OpenAL shutdown don't do not stop only the stream chan but all chans.
I'm not quite sure if this really makes a difference. But it's the only idea I have regarding several "Quake II hangs at shutdown when OpenAL is run with Pulseaudio backend" bugs.
This commit is contained in:
parent
978eec1a8d
commit
fa4eacc976
1 changed files with 1 additions and 1 deletions
|
@ -842,7 +842,7 @@ AL_Shutdown(void)
|
|||
{
|
||||
Com_Printf("Shutting down OpenAL.\n");
|
||||
|
||||
AL_StreamDie();
|
||||
AL_StopAllChannels();
|
||||
|
||||
qalDeleteSources(1, &streamSource);
|
||||
qalDeleteFilters(1, &underwaterFilter);
|
||||
|
|
Loading…
Reference in a new issue