aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
diff options
context:
space:
mode:
authorMax Horn2003-08-04 22:25:51 +0000
committerMax Horn2003-08-04 22:25:51 +0000
commit97c31509241dff1ddc1b99a2d25d5538ef59c695 (patch)
tree35a7640b385a18b7e9f0b4d5b06032c76228b852 /backends/sdl
parentd280258e09fccc1ac3c72569a28e4cb69afef488 (diff)
downloadscummvm-rg350-97c31509241dff1ddc1b99a2d25d5538ef59c695.tar.gz
scummvm-rg350-97c31509241dff1ddc1b99a2d25d5538ef59c695.tar.bz2
scummvm-rg350-97c31509241dff1ddc1b99a2d25d5538ef59c695.zip
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
Diffstat (limited to 'backends/sdl')
-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);
}