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:
parent
d280258e09
commit
97c3150924
1 changed files with 0 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue