]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/gui_local.cxx
Melchior: Make line wrapping in textboxes configurable, and enable it by default
[flightgear.git] / src / GUI / gui_local.cxx
index 023f64ee7dc3cdaa84f6424e2bddb700b0b2a2e6..1ec2b08ed5a24c29bdf8db1dbc67e9a1e7464ab9 100644 (file)
@@ -6,7 +6,6 @@
 #  include <windows.h>
 #endif
 
-#include FG_GLUT_H          // needed before pu.h
 #include <plib/pu.h>        // plib include
 
 #include <FDM/flight.hxx>
@@ -14,6 +13,7 @@
 #include <Main/globals.hxx>
 #include <Main/fg_init.hxx>
 #include <Main/fg_props.hxx>
+#include <Main/renderer.hxx>
 #include <Scenery/tilemgr.hxx>
 #include <Time/light.hxx>
 
@@ -82,7 +82,7 @@ void reInit(puObject *cb)
 
     globals->get_tile_mgr()->update( fgGetDouble("/environment/visibility-m") );
 
-    fgReshape( xsize, ysize );
+    globals->get_renderer()->resize( xsize, ysize );
 
     // BusyCursor(1);