mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
macos platform fixes for intel macs
This commit is contained in:
parent
433d32f237
commit
7cb306b65a
6 changed files with 132 additions and 885 deletions
|
|
@ -322,10 +322,9 @@ ThreadPool::ThreadPool( const char* name, U32 numThreads )
|
|||
// Platform::SystemInfo will not yet have been initialized.
|
||||
|
||||
U32 numLogical = 0;
|
||||
U32 numPhysical = 0;
|
||||
U32 numCores = 0;
|
||||
|
||||
CPUInfo::CPUCount( numLogical, numCores, numPhysical );
|
||||
CPUInfo::CPUCount( numLogical, numCores );
|
||||
|
||||
const U32 baseCount = getMax( numLogical, numCores );
|
||||
mNumThreads = (baseCount > 0) ? baseCount : 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue