this is one way to fix that error anyway.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3953 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
5ac53bf18c
commit
2b7b9720f3
1 changed files with 5 additions and 1 deletions
|
@ -703,7 +703,11 @@ int DSOUND_InitCard (soundcardinfo_t *sc, int cardnum)
|
|||
dsbuf.lpwfxFormat = NULL;
|
||||
|
||||
#ifdef DSBCAPS_GLOBALFOCUS
|
||||
if (snd_inactive.ival || sys_parentwindow) /*always inactive if we have a parent window, because we can't tell properly otherwise*/
|
||||
if (snd_inactive.ival
|
||||
#ifdef NPQTV
|
||||
|| sys_parentwindow
|
||||
#endif
|
||||
) /*always inactive if we have a parent window, because we can't tell properly otherwise*/
|
||||
{
|
||||
dsbuf.dwFlags |= DSBCAPS_GLOBALFOCUS;
|
||||
sc->inactive_sound = true;
|
||||
|
|
Loading…
Reference in a new issue