diff options
Diffstat (limited to 'code/client/snd_mix.c')
| -rw-r--r-- | code/client/snd_mix.c | 17 | 
1 files changed, 8 insertions, 9 deletions
diff --git a/code/client/snd_mix.c b/code/client/snd_mix.c index 0538973..c1ad06b 100644 --- a/code/client/snd_mix.c +++ b/code/client/snd_mix.c @@ -467,15 +467,14 @@ static void S_PaintChannelFrom16_scalar( channel_t *ch, const sfx_t *sc, int cou  }  static void S_PaintChannelFrom16( channel_t *ch, const sfx_t *sc, int count, int sampleOffset, int bufferOffset ) { -    #if idppc_altivec -    extern cvar_t *com_altivec; -    if (com_altivec->integer) { -        // must be in a seperate function or G3 systems will crash. -        S_PaintChannelFrom16_altivec( ch, sc, count, sampleOffset, bufferOffset ); -        return; -    } -    #endif -    S_PaintChannelFrom16_scalar( ch, sc, count, sampleOffset, bufferOffset ); +#if idppc_altivec +	if (com_altivec->integer) { +		// must be in a seperate function or G3 systems will crash. +		S_PaintChannelFrom16_altivec( ch, sc, count, sampleOffset, bufferOffset ); +		return; +	} +#endif +	S_PaintChannelFrom16_scalar( ch, sc, count, sampleOffset, bufferOffset );  }  void S_PaintChannelFromWavelet( channel_t *ch, sfx_t *sc, int count, int sampleOffset, int bufferOffset ) {  | 
