Updateds to win32 print system.
This commit is contained in:
parent
06b966ee53
commit
cd49be7182
1 changed files with 6 additions and 2 deletions
|
@ -861,10 +861,14 @@ void printScreen ( puObject *obj ) {
|
||||||
BusyCursor( 0 );
|
BusyCursor( 0 );
|
||||||
mainMenuBar->hide();
|
mainMenuBar->hide();
|
||||||
|
|
||||||
CGlPrinter p;
|
CGlPrinter p( CGlPrinter::READ_BITMAP );
|
||||||
|
int cur_width = current_view.get_winWidth( );
|
||||||
|
int cur_height = current_view.get_winHeight( );
|
||||||
p.Begin( "FlightGear" );
|
p.Begin( "FlightGear" );
|
||||||
fgInitVisuals();
|
fgInitVisuals();
|
||||||
fgReshape( p.GetHorzRes(), p.GetVertRes() );
|
fgReshape( cur_width, cur_height );
|
||||||
|
//fgReshape( p.GetHorzRes(), p.GetVertRes() );
|
||||||
|
fgRenderFrame();
|
||||||
fgRenderFrame();
|
fgRenderFrame();
|
||||||
p.End();
|
p.End();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue