Merge pull request #252 from remoe/patch-2

Avoid call of SetupThreads in DatabasePager Constructor
This commit is contained in:
OpenSceneGraph git repository
2017-05-10 11:18:09 +01:00
committed by GitHub

View File

@@ -1110,10 +1110,6 @@ DatabasePager::DatabasePager()
// test of setting the database threads affinity.
// _affinity = OpenThreads::Affinity(4,4);
setUpThreads(
osg::DisplaySettings::instance()->getNumOfDatabaseThreadsHint(),
osg::DisplaySettings::instance()->getNumOfHttpDatabaseThreadsHint());
str = getenv("OSG_DATABASE_PAGER_PRIORITY");
if (str)
{