while this fixed a problem with sdl_gl on OS X, it causes annoying problems with fullscreen mode with the regular SDL backend on OS X -> disabling it (plus I couldn't reproduce this segfault with the GL backend anymore, too)

svn-id: r9468
This commit is contained in:
Max Horn 2003-08-04 22:25:51 +00:00
parent d280258e09
commit 97c3150924

View file

@ -118,11 +118,7 @@ OSystem_SDL_Common::~OSystem_SDL_Common() {
delete_mutex(_graphicsMutex);
SDL_ShowCursor(SDL_ENABLE);
#ifdef MACOSX
// Work around segfault-on-exit with the OpenGL backend on Mac OS X.
#else
SDL_Quit();
#endif
}
void OSystem_SDL_Common::init_size(uint w, uint h) {
@ -945,11 +941,7 @@ void OSystem_SDL_Common::quit() {
unload_gfx_mode();
SDL_ShowCursor(SDL_ENABLE);
#ifdef MACOSX
// Work around segfault-on-exit with the OpenGL backend on Mac OS X.
#else
SDL_Quit();
#endif
exit(0);
}