mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Fix a potential OGG issue when OpenAL library is not found.
This commit is contained in:
parent
daa0c2c1bf
commit
f46c46864a
1 changed files with 4 additions and 1 deletions
|
@ -761,7 +761,10 @@ OGG_PauseCmd(void)
|
|||
}
|
||||
|
||||
#ifdef USE_OPENAL
|
||||
AL_UnqueueRawSamples();
|
||||
if (sound_started == SS_OAL)
|
||||
{
|
||||
AL_UnqueueRawSamples();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue