From 2f641b0ec0f603497b372c992ddafeb435b2c499 Mon Sep 17 00:00:00 2001 From: ludwig Date: Sun, 2 Nov 2008 17:32:25 +0000 Subject: specify alDevice instead of NULL when asking for for ALC_EXTENSIONS patch by Ben Millwood (#3777) git-svn-id: svn://svn.icculus.org/quake3/trunk@1478 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/snd_openal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code') diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c index 641dcc4..6b3f547 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)); -- cgit v1.2.3