1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 07:23:54 +00:00

Print OSG version on startup

This commit is contained in:
scrawl 2017-02-18 03:15:15 +01:00
parent e4741db069
commit 481c440698

View file

@ -623,6 +623,8 @@ void OMW::Engine::go()
{
assert (!mContentFiles.empty());
std::cout << "OSG version: " << osgGetVersion() << std::endl;
mViewer = new osgViewer::Viewer;
mViewer->setReleaseContextAtEndOfFrameHint(false);