]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/gui_local.cxx
Oliver Schroeder:
[flightgear.git] / src / GUI / gui_local.cxx
index e881cd2a7c40613e917434926154a83c404cd866..1ec2b08ed5a24c29bdf8db1dbc67e9a1e7464ab9 100644 (file)
@@ -13,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>
 
@@ -81,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);