1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-24 23:41:33 +00:00

Fix build against OSG 3.5.3

This commit is contained in:
scrawl 2016-06-06 13:32:27 +02:00
parent 9eab3b1728
commit a1f323f528
2 changed files with 0 additions and 17 deletions

View file

@ -37,9 +37,6 @@ namespace osgQt
// forward declarations // forward declarations
class GraphicsWindowQt; class GraphicsWindowQt;
/// The function sets the WindowingSystem to Qt.
void initQtWindowingSystem();
/** The function sets the viewer that will be used after entering /** The function sets the viewer that will be used after entering
* the Qt main loop (QCoreApplication::exec()). * the Qt main loop (QCoreApplication::exec()).
* *

View file

@ -639,20 +639,6 @@ private:
}; };
// declare C entry point for static compilation.
extern "C" void graphicswindow_Qt(void)
{
osg::GraphicsContext::setWindowingSystemInterface(QtWindowingSystem::getInterface());
}
void osgQt::initQtWindowingSystem()
{
graphicswindow_Qt();
}
void osgQt::setViewer( osgViewer::ViewerBase *viewer ) void osgQt::setViewer( osgViewer::ViewerBase *viewer )
{ {
HeartBeat::instance()->init( viewer ); HeartBeat::instance()->init( viewer );