1
0
Fork 0

Fix some link errors.

This commit is contained in:
ehofman 2004-09-19 17:27:44 +00:00
parent db3bbd25e9
commit 887c0c0f65

View file

@ -374,8 +374,8 @@ void guiTogglePanel(puObject *cb)
else else
fgSetBool("/sim/panel/visibility", true); fgSetBool("/sim/panel/visibility", true);
fgReshape(fgGetInt("/sim/startup/xsize"), globals->get_renderer()->resize(fgGetInt("/sim/startup/xsize"),
fgGetInt("/sim/startup/ysize")); fgGetInt("/sim/startup/ysize"));
} }
void goodBye(puObject *) void goodBye(puObject *)
@ -669,7 +669,7 @@ void fgHiResDump()
} }
fgReshape( width, height ); globals->get_renderer()->resize( width, height );
trDelete(tr); trDelete(tr);
@ -722,7 +722,7 @@ GLubyte *hiResScreenCapture( int multiplier )
int x,y; int x,y;
for ( y = 0; y < multiplier; y++ ) { for ( y = 0; y < multiplier; y++ ) {
for ( x = 0; x < multiplier; x++ ) { for ( x = 0; x < multiplier; x++ ) {
fgReshape( cur_width, cur_height ); globals->get_renderer()->resize( cur_width, cur_height );
// pan to tile // pan to tile
rotateView( 0, (y*fov)-((multiplier-1)*fov/2), (x*fov)-((multiplier-1)*fov/2) ); rotateView( 0, (y*fov)-((multiplier-1)*fov/2), (x*fov)-((multiplier-1)*fov/2) );
fgRenderFrame(); fgRenderFrame();
@ -794,8 +794,8 @@ void fgDumpSnapShot () {
} }
globals->get_renderer()->init(); globals->get_renderer()->init();
fgReshape( fgGetInt("/sim/startup/xsize"), globals->get_renderer()->resize( fgGetInt("/sim/startup/xsize"),
fgGetInt("/sim/startup/ysize") ); fgGetInt("/sim/startup/ysize") );
// we need two render frames here to clear the menu and cursor // we need two render frames here to clear the menu and cursor
// ... not sure why but doing an extra fgRenderFrame() shouldn't // ... not sure why but doing an extra fgRenderFrame() shouldn't