fix minimal build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4408 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
cebd0583a9
commit
feb28c939d
1 changed files with 0 additions and 4 deletions
|
@ -541,11 +541,9 @@ static int DSOUND_InitCard_Internal (soundcardinfo_t *sc, int cardnum)
|
|||
{
|
||||
extern cvar_t snd_inactive;
|
||||
#if _MSC_VER > 1200 //fixme err
|
||||
#ifndef MINIMAL
|
||||
#ifdef _IKsPropertySet_
|
||||
extern cvar_t snd_eax;
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
DSBUFFERDESC dsbuf;
|
||||
DSBCAPS dsbcaps;
|
||||
|
@ -642,7 +640,6 @@ static int DSOUND_InitCard_Internal (soundcardinfo_t *sc, int cardnum)
|
|||
dh = sc->handle;
|
||||
//EAX attempt
|
||||
#if _MSC_VER > 1200
|
||||
#ifndef MINIMAL
|
||||
#ifdef _IKsPropertySet_
|
||||
dh->pDS = NULL;
|
||||
if (snd_eax.ival)
|
||||
|
@ -656,7 +653,6 @@ static int DSOUND_InitCard_Internal (soundcardinfo_t *sc, int cardnum)
|
|||
|
||||
if (!dh->pDS)
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
{
|
||||
while ((hresult = iDirectSoundCreate(dsndguid, &dh->pDS, NULL)) != DS_OK)
|
||||
|
|
Loading…
Reference in a new issue