* Remove work around for a 2 year old OpenAL bug that now actually causes a

crash on snd_restart
This commit is contained in:
Tim Angus 2007-11-11 22:15:25 +00:00
parent e8d3c48535
commit 25ac1317b1

View file

@ -1842,13 +1842,6 @@ void S_AL_Shutdown( void )
S_AL_SrcShutdown( ); S_AL_SrcShutdown( );
S_AL_BufferShutdown( ); S_AL_BufferShutdown( );
// Check for Linux shutdown race condition
// FIXME: this will probably not be necessary once OpenAL CVS
// from 11/11/05 is released and prevelant
if( Q_stricmp((const char*)qalGetString( AL_VENDOR ), "J. Valenzuela" ) ) {
qalcMakeContextCurrent( NULL );
}
qalcDestroyContext(alContext); qalcDestroyContext(alContext);
qalcCloseDevice(alDevice); qalcCloseDevice(alDevice);