#5534 remove OSG 3.4 support and require at least 3.6.5 support

This commit is contained in:
psi29a 2022-08-09 21:07:28 +00:00
parent bb9884c024
commit b551e69b6f
14 changed files with 59 additions and 348 deletions

View file

@ -7,8 +7,6 @@
#include <boost/filesystem/fstream.hpp>
#include <osg/Version>
#include <osgViewer/ViewerEventHandlers>
#include <osgDB/WriteFile>
@ -1032,10 +1030,8 @@ void OMW::Engine::go()
mViewer = new osgViewer::Viewer;
mViewer->setReleaseContextAtEndOfFrameHint(false);
#if OSG_VERSION_GREATER_OR_EQUAL(3,5,5)
// Do not try to outsmart the OS thread scheduler (see bug #4785).
mViewer->setUseConfigureAffinity(false);
#endif
mEnvironment.setFrameRateLimit(Settings::Manager::getFloat("framerate limit", "Video"));