Standardize the call to setUpThreading() in CompositeViewer/Viewer::realize().

Standardize the call to scene->resizeGLObjects().


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14944 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2015-07-13 16:03:51 +00:00
parent 1859e27501
commit e94c3334f9
3 changed files with 15 additions and 2 deletions

View File

@@ -587,6 +587,7 @@ void Viewer::realize()
// pass on the start tick to all the associated event queues
setStartTick(osg::Timer::instance()->getStartTick());
// configure threading.
setUpThreading();
if (osg::DisplaySettings::instance()->getCompileContextsHint())