r1478 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Nov 2 12:32:25 EST 2008


Author: ludwig
Date: 2008-11-02 12:32:25 -0500 (Sun, 02 Nov 2008)
New Revision: 1478

Modified:
   trunk/code/client/snd_openal.c
Log:
specify alDevice instead of NULL when asking for for ALC_EXTENSIONS

patch by Ben Millwood (#3777)

Modified: trunk/code/client/snd_openal.c
===================================================================
--- trunk/code/client/snd_openal.c	2008-11-02 17:32:21 UTC (rev 1477)
+++ trunk/code/client/snd_openal.c	2008-11-02 17:32:25 UTC (rev 1478)
@@ -1898,7 +1898,7 @@
 	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));




More information about the quake3-commits mailing list