Quoting Melchior FRANZ :

> * Curtis L. Olson -- Thursday 11 November 2004 15:57:
> * > Erik Hofman wrote:
> * * * Jon Stockill -- Thursday 11 November 2004 15:19:
> > > > * When exiting, if the screen resolution has been changed it's not
> > > > restored, effectively leaving you with a small window onto a large
> > > > desktop, which you can pan around.
> > >
> > > This is a known limitation of SDL.
> >
> > Are you sure?  Other SDL apps seem to return to the original desktop
> > resolution just fine.
>
> Indeed! Our problem is that we aren't really calling SDL_Quit(). It's in
> fg_os_sdl.cxx' fgOSExit(), but this function is never actually used.
> fg_exit() calls fgExit() instead.

How about putting the SDL_Quit() in an atexit handler installed by the FG's SDL
initialization routine ?

-Fred

_______________________________________________
Flightgear-users mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to