From feb28c939dcdd1f012a1f564aaad0814eafc2c85 Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 26 Jun 2013 03:36:30 +0000 Subject: [PATCH] fix minimal build git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4408 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/snd_directx.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/engine/client/snd_directx.c b/engine/client/snd_directx.c index 6b05a7ee1..d5b12ffce 100644 --- a/engine/client/snd_directx.c +++ b/engine/client/snd_directx.c @@ -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)