diff --git a/src/osgViewer/ViewerBase.cpp b/src/osgViewer/ViewerBase.cpp index b7d02aec2..05ce7d662 100644 --- a/src/osgViewer/ViewerBase.cpp +++ b/src/osgViewer/ViewerBase.cpp @@ -328,7 +328,7 @@ void ViewerBase::startThreading() } } - int numProcessors = osg::minimum(1, OpenThreads::GetNumberOfProcessors()); + int numProcessors = osg::maximum(1, OpenThreads::GetNumberOfProcessors()); bool affinity = numProcessors>1; Contexts::iterator citr;