mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-24 22:59:24 +00:00
Changes for Linux.
This commit is contained in:
parent
aa35157eef
commit
3336bffad2
30 changed files with 99 additions and 173 deletions
|
|
@ -60,7 +60,7 @@ SFXALDevice::SFXALDevice( SFXProvider *provider,
|
|||
AssertFatal( mDevice != NULL && mContext != NULL, "Failed to create OpenAL device and/or context!" );
|
||||
|
||||
// Start the update thread.
|
||||
|
||||
#ifndef TORQUE_OS_LINUX
|
||||
if( !Con::getBoolVariable( "$_forceAllMainThread" ) )
|
||||
{
|
||||
SFXInternal::gUpdateThread = new AsyncPeriodicUpdateThread
|
||||
|
|
@ -68,6 +68,7 @@ SFXALDevice::SFXALDevice( SFXProvider *provider,
|
|||
Con::getIntVariable( "$pref::SFX::updateInterval", SFXInternal::DEFAULT_UPDATE_INTERVAL ) );
|
||||
SFXInternal::gUpdateThread->start();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue