1
0
Fork 0

Kill an obsolete static in the osgViewer wrapper.

This commit is contained in:
James Turner 2013-12-09 21:47:18 +00:00
parent 7719ad920d
commit 0dcfd361a4

View file

@ -102,7 +102,6 @@ using namespace flightgear;
using namespace osg;
osg::ref_ptr<osgViewer::Viewer> viewer;
static osg::ref_ptr<osg::Camera> mainCamera;
static void setStereoMode( const char * mode )
{
@ -357,7 +356,6 @@ void fgOSInit(int* argc, char** argv)
void fgOSCloseWindow()
{
FGScenery::resetPagerSingleton();
mainCamera = NULL;
flightgear::CameraGroup::setDefault(NULL);
WindowSystemAdapter::setWSA(NULL);
viewer = NULL;