Fixed if (numProcessors>1), was originally >=

This commit is contained in:
Robert Osfield
2006-08-11 18:22:16 +00:00
parent 2bed6e60a1
commit 38c70042a5

View File

@@ -499,7 +499,7 @@ bool OsgCameraGroup::realize()
if (_enableProccessAffinityHint)
{
unsigned int numProcessors = OpenThreads::GetNumberOfProcessors();
if (numProcessors>=1)
if (numProcessors>1)
{
for( unsigned int i = 0; i < _cfg->getNumberOfCameras(); i++ )
{