Frederic Bouvier wrote:
Quoting Melchior FRANZ :
* Curtis L. Olson -- Thursday 11 November 2004 15:57:
* > Erik Hofman wrote:
* * * Jon Stockill -- Thursday 11 November 2004 15:19:
Indeed! Our problem is that we aren't really calling SDL_Quit(). It's inAre you sure? Other SDL apps seem to return to the original desktop* When exiting, if the screen resolution has been changed it's notThis is a known limitation of SDL.
restored, effectively leaving you with a small window onto a large
desktop, which you can pan around.
resolution just fine.
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 ?
I'm pretty sure this was working at some point when the SDL code was originally added, but something must have been changed or rearranged and we are no longer calling SDL_Quit() on exit ... :-(
Curt.
-- Curtis Olson http://www.flightgear.org/~curt HumanFIRST Program http://www.humanfirst.umn.edu/ FlightGear Project http://www.flightgear.org Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d
_______________________________________________ Flightgear-users mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-users 2f585eeea02e2c79d7b1d8c4963bae2d
