aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/sdl/sdl-common.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp
index 02932da927..de07498806 100644
--- a/backends/sdl/sdl-common.cpp
+++ b/backends/sdl/sdl-common.cpp
@@ -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);
}