1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2013-06-26 03:36:30 +00:00
parent cebd0583a9
commit feb28c939d

View file

@ -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)