Added osgViewerGetVersion() usage to force Windows to link osgViewer.
This commit is contained in:
parent
f69a48e552
commit
a59790ed6e
@ -21,6 +21,7 @@
|
||||
#include <osgUtil/SmoothingVisitor>
|
||||
|
||||
#include <osgViewer/GraphicsWindow>
|
||||
#include <osgViewer/Version>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
@ -118,7 +119,7 @@ public:
|
||||
MyGraphicsContext context;
|
||||
if (!context.valid())
|
||||
{
|
||||
osg::notify(osg::NOTICE)<<"Error: Unable to create graphis context - cannot run compression"<<std::endl;
|
||||
osg::notify(osg::NOTICE)<<"Error: Unable to create graphis context, problem with running osgViewer-"<<osgViewerGetVersion()<<", cannot run compression."<<std::endl;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user