Moved the implementation of GraphicsWindowX11 from the head into the src/osgViewer directory.
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
|
||||
#if !defined(_WIN32)
|
||||
|
||||
#include <osgViewer/GraphicsWindowX11>
|
||||
#include <osgViewer/Viewer>
|
||||
|
||||
#include <osgGA/TrackballManipulator>
|
||||
@@ -35,19 +34,6 @@ void renderCamera(osg::Camera* camera)
|
||||
osg::GraphicsContext* gc = camera->getGraphicsContext();
|
||||
if (!gc) return;
|
||||
|
||||
#if 0
|
||||
osgViewer::GraphicsWindowX11* gwX11 = dynamic_cast<osgViewer::GraphicsWindowX11*>(gc);
|
||||
if (gwX11)
|
||||
{
|
||||
gwX11->checkEvents();
|
||||
|
||||
osgGA::EventQueue::Events events;
|
||||
if (gwX11->getEventQueue()->takeEvents(events))
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
osgUtil::SceneView* sceneView = dynamic_cast<osgUtil::SceneView*>(camera->getRenderingCache(0));
|
||||
if (!sceneView) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user