]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/renderer.hxx
Melchior FRANZ:
[flightgear.git] / src / Main / renderer.hxx
index c8db96d5e4185eced02a995baef31797cf1d41a7..b19ae79ebca2d968d2d66c4105313b2bf3391540 100644 (file)
@@ -18,15 +18,19 @@ extern bool glPointParameterIsSupported;
 class FGRenderer {
 
 public:
-    FGRenderer() {}
-    ~FGRenderer() {}
+    FGRenderer();
+    ~FGRenderer();
 
     void init();
-    static void update();
-    static void resize(int width, int height );
 
-    void screendump();
     void build_states();
+    static void resize(int width, int height );
+
+    // calling update( refresh_camera_settings = false ) will not
+    // touch window or camera settings.  This is useful for the tiled
+    // renderer which needs to set the view frustum itself.
+    static void update( bool refresh_camera_settings );
+    inline static void update() { update( true ); }
 };
 
 #endif