]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/renderer.cxx
Make sure 'make dist' keeps working.
[flightgear.git] / src / Main / renderer.cxx
index 56b68cc083c70e8c8161a1f8a19352bf56ae8a15..368dba6429f914682813d34b50558b620045f257 100644 (file)
 
 #include <simgear/compiler.h>
 
-#ifdef HAVE_WINDOWS_H
-#  include <windows.h>
-#endif
-
 #include <osg/ref_ptr>
 #include <osg/AlphaFunc>
 #include <osg/BlendFunc>
@@ -560,7 +556,6 @@ FGRenderer::init( void )
 
     mRealRoot->addChild(viewPartition.get());
     mRealRoot->addChild(FGCreateRedoutNode());
-    mRealRoot->addChild(guiCamera);
 }
 
 
@@ -834,8 +829,6 @@ FGRenderer::resize( int width, int height ) {
     if (height != lastheight)
         fgSetInt("/sim/startup/ysize", lastheight = height);
 
-    guiInitMouse(width, height);
-
     // for all views
     FGViewMgr *viewmgr = globals->get_viewmgr();
     if (viewmgr) {