# include <windows.h>
#endif
-#include <GL/glut.h> // needed before pu.h
#include <plib/pu.h> // plib include
#include <FDM/flight.hxx>
#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>
#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];
fgReInitSubsystems();
globals->get_tile_mgr()->update( fgGetDouble("/environment/visibility-m") );
-
- cur_light_params.Update();
- fgReshape( xsize, ysize );
+ globals->get_renderer()->resize( xsize, ysize );
// BusyCursor(1);