mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-13 14:06:42 +03:00
#5534 remove OSG 3.4 support and require at least 3.6.5 support
This commit is contained in:
parent
bb9884c024
commit
b551e69b6f
14 changed files with 59 additions and 348 deletions
|
@ -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"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue