Remove more unused things from CryCommon and CrySystem. (#709)
Lots of unrelated removals, I basically tried to remove everything exposed via gEnv that isn't used anymore, and following the threads found a few other things to remove also.
This commit is contained in:
@@ -1044,11 +1044,9 @@ void CSystem::AutoDetectSpec(const bool detectResolution)
|
||||
unsigned int numSysCores(1), numProcCores(1);
|
||||
Win32SysInspect::GetNumCPUCores(numSysCores, numProcCores);
|
||||
CryLogAlways("--- Number of available cores: %d (out of %d)", numProcCores, numSysCores);
|
||||
const int numLogicalProcs = gEnv->pi.numLogicalProcessors;
|
||||
CryLogAlways("--- Number of logical processors: %d", numLogicalProcs);
|
||||
|
||||
// get CPU rating
|
||||
const int cpuRating = numLogicalProcs >= 8 ? 3 : (numLogicalProcs >= 6 ? 2 : 1);
|
||||
const int cpuRating = numProcCores >= 4 ? 3 : (numProcCores >= 3 ? 2 : 1);
|
||||
|
||||
// get GPU info
|
||||
unsigned int gpuVendorId(0), gpuDeviceId(0), totVidMem(0);
|
||||
|
||||
Reference in New Issue
Block a user