From: ehofman Date: Sun, 19 Sep 2004 17:18:11 +0000 (+0000) Subject: Fix some compile errors. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=db3bbd25e937b3e5d6b6c64ab4edee27bd0bbec0;p=flightgear.git Fix some compile errors. --- diff --git a/src/GUI/gui_funcs.cxx b/src/GUI/gui_funcs.cxx index dc352b61b..7138d915e 100644 --- a/src/GUI/gui_funcs.cxx +++ b/src/GUI/gui_funcs.cxx @@ -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") );