From 5a3eda3485c4e5c326970fdabbef25ace2589d48 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Sun, 2 Nov 2008 17:32:25 +0000 Subject: [PATCH] specify alDevice instead of NULL when asking for for ALC_EXTENSIONS patch by Ben Millwood (#3777) --- code/client/snd_openal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c index 641dcc49..6b3f5471 100644 --- a/code/client/snd_openal.c +++ b/code/client/snd_openal.c @@ -1898,7 +1898,7 @@ void S_AL_SoundInfo( void ) Com_Printf( " Version: %s\n", qalGetString( AL_VERSION ) ); Com_Printf( " Renderer: %s\n", qalGetString( AL_RENDERER ) ); Com_Printf( " AL Extensions: %s\n", qalGetString( AL_EXTENSIONS ) ); - Com_Printf( " ALC Extensions: %s\n", qalcGetString( NULL, ALC_EXTENSIONS ) ); + Com_Printf( " ALC Extensions: %s\n", qalcGetString( alDevice, ALC_EXTENSIONS ) ); if(qalcIsExtensionPresent(NULL, "ALC_ENUMERATION_EXT")) { Com_Printf(" Device: %s\n", qalcGetString(alDevice, ALC_DEVICE_SPECIFIER));