]> git.mxchange.org Git - flightgear.git/commitdiff
Fix some compile errors.
authorehofman <ehofman>
Sun, 19 Sep 2004 17:18:11 +0000 (17:18 +0000)
committerehofman <ehofman>
Sun, 19 Sep 2004 17:18:11 +0000 (17:18 +0000)
src/GUI/gui_funcs.cxx

index dc352b61b2c6029125bacfabf679757025bed6b6..7138d915ea3c4ac3fcf34e0736069e833dade0c2 100644 (file)
@@ -532,7 +532,7 @@ void fgHiResDump()
         puHideCursor();
     }
 
-    FGRenderer *rendrer = globals->get_renderer();
+    FGRenderer *renderer = globals->get_renderer();
     renderer->init();
     renderer->resize( fgGetInt("/sim/startup/xsize"),
                       fgGetInt("/sim/startup/ysize") );
@@ -713,7 +713,7 @@ GLubyte *hiResScreenCapture( int multiplier )
     float fov = oldfov / multiplier;
     FGViewer *v = globals->get_current_view();
     fgSetDouble("/sim/current-view/field-of-view", fov);
-    fgInitVisuals();
+    globals->get_renderer()->init();
     int cur_width = fgGetInt("/sim/startup/xsize");
     int cur_height = fgGetInt("/sim/startup/ysize");
     if (b1) delete( b1 );
@@ -793,7 +793,7 @@ void fgDumpSnapShot () {
        puHideCursor();
     }
 
-    fgInitVisuals();
+    globals->get_renderer()->init();
     fgReshape( fgGetInt("/sim/startup/xsize"),
               fgGetInt("/sim/startup/ysize") );