]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/gui_local.cxx
Don't scale elevator by 0.5.
[flightgear.git] / src / GUI / gui_local.cxx
index 92036557e61051508da5d11d97fc5180a60d087d..023f64ee7dc3cdaa84f6424e2bddb700b0b2a2e6 100644 (file)
@@ -6,7 +6,7 @@
 #  include <windows.h>
 #endif
 
-#include GLUT_H                 // needed before pu.h
+#include FG_GLUT_H          // needed before pu.h
 #include <plib/pu.h>        // plib include
 
 #include <FDM/flight.hxx>
@@ -20,9 +20,6 @@
 #include "gui.h"
 #include "trackball.h"
 
-// from main.cxx
-extern void fgReshape(int, int);
-
 // FOR MOUSE VIEW MODE
 // stashed trackball(_quat0, 0.0, 0.0, 0.0, 0.0);
 static float _quat0[4];
@@ -84,8 +81,6 @@ void reInit(puObject *cb)
     fgReInitSubsystems();
 
     globals->get_tile_mgr()->update( fgGetDouble("/environment/visibility-m") );
-    
-    cur_light_params.Update();
 
     fgReshape( xsize, ysize );