forked from teamnwah/openmw-tes3coop
Fix build against OSG 3.5.3
This commit is contained in:
parent
9eab3b1728
commit
a1f323f528
2 changed files with 0 additions and 17 deletions
3
extern/osgQt/GraphicsWindowQt
vendored
3
extern/osgQt/GraphicsWindowQt
vendored
|
@ -37,9 +37,6 @@ namespace osgQt
|
|||
// forward declarations
|
||||
class GraphicsWindowQt;
|
||||
|
||||
/// The function sets the WindowingSystem to Qt.
|
||||
void initQtWindowingSystem();
|
||||
|
||||
/** The function sets the viewer that will be used after entering
|
||||
* the Qt main loop (QCoreApplication::exec()).
|
||||
*
|
||||
|
|
14
extern/osgQt/GraphicsWindowQt.cpp
vendored
14
extern/osgQt/GraphicsWindowQt.cpp
vendored
|
@ -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 )
|
||||
{
|
||||
HeartBeat::instance()->init( viewer );
|
||||
|
|
Loading…
Reference in a new issue