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 );
|
||||
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" );
|
||||
fgInitVisuals();
|
||||
fgReshape( p.GetHorzRes(), p.GetVertRes() );
|
||||
fgReshape( cur_width, cur_height );
|
||||
//fgReshape( p.GetHorzRes(), p.GetVertRes() );
|
||||
fgRenderFrame();
|
||||
fgRenderFrame();
|
||||
p.End();
|
||||
|
||||
|
|
Loading…
Reference in a new issue