]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/gui_local.cxx
Make sure that all elapsed time gets passed to update when a subsystem
[flightgear.git] / src / GUI / gui_local.cxx
index d4d6cab2be33f8134eb8d47a77d5edd9a816afe6..92036557e61051508da5d11d97fc5180a60d087d 100644 (file)
@@ -6,7 +6,7 @@
 #  include <windows.h>
 #endif
 
-#include <GL/glut.h>        // needed before pu.h
+#include GLUT_H                 // needed before pu.h
 #include <plib/pu.h>        // plib include
 
 #include <FDM/flight.hxx>
@@ -83,7 +83,7 @@ void reInit(puObject *cb)
 
     fgReInitSubsystems();
 
-    global_tile_mgr.update( fgGetDouble("/environment/visibility-m") );
+    globals->get_tile_mgr()->update( fgGetDouble("/environment/visibility-m") );
     
     cur_light_params.Update();