mirror of https://github.com/ioquake/ioq3.git
Try default OpenAL driver if user set one fails to load
This commit is contained in:
parent
49d756364a
commit
36a4075a8d
|
@ -2521,8 +2521,10 @@ qboolean S_AL_Init( soundInterface_t *si )
|
||||||
if( !QAL_Init( s_alDriver->string ) )
|
if( !QAL_Init( s_alDriver->string ) )
|
||||||
{
|
{
|
||||||
Com_Printf( "Failed to load library: \"%s\".\n", s_alDriver->string );
|
Com_Printf( "Failed to load library: \"%s\".\n", s_alDriver->string );
|
||||||
|
if( !Q_stricmp( s_alDriver->string, ALDRIVER_DEFAULT ) || !QAL_Init( ALDRIVER_DEFAULT ) ) {
|
||||||
return qfalse;
|
return qfalse;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
device = s_alDevice->string;
|
device = s_alDevice->string;
|
||||||
if(device && !*device)
|
if(device && !*device)
|
||||||
|
|
Loading…
Reference in New Issue