mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Try default OpenAL driver if user set one fails to load
This commit is contained in:
parent
49d756364a
commit
36a4075a8d
1 changed files with 3 additions and 1 deletions
|
@ -2521,7 +2521,9 @@ qboolean S_AL_Init( soundInterface_t *si )
|
|||
if( !QAL_Init( s_alDriver->string ) )
|
||||
{
|
||||
Com_Printf( "Failed to load library: \"%s\".\n", s_alDriver->string );
|
||||
return qfalse;
|
||||
if( !Q_stricmp( s_alDriver->string, ALDRIVER_DEFAULT ) || !QAL_Init( ALDRIVER_DEFAULT ) ) {
|
||||
return qfalse;
|
||||
}
|
||||
}
|
||||
|
||||
device = s_alDevice->string;
|
||||
|
|
Loading…
Reference in a new issue