Backport the changes in main.cpp to the release branch.

This commit is contained in:
thelemonman 2013-11-24 22:24:25 +00:00
parent dfb72ae1b5
commit 6ba690f006
1 changed files with 6 additions and 0 deletions

View File

@ -2464,6 +2464,12 @@ common_gtk_main( class configured_features *my_config)
desmume_free();
#if defined(HAVE_LIBOSMESA)
deinit_osmesa_3Demu();
#elif defined(HAVE_GL_GLX)
deinit_glx_3Demu();
#endif
if ( !gtk_fps_limiter_disabled) {
/* tidy up the FPS limiter timer and semaphore */
SDL_RemoveTimer( limiter_timer);