[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.cpp,1.78,1.79

Max Horn fingolfin at users.sourceforge.net
Mon Aug 4 15:26:12 CEST 2003


Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1:/tmp/cvs-serv822

Modified Files:
	sdl-common.cpp 
Log Message:
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)

Index: sdl-common.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl-common.cpp,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- sdl-common.cpp	4 Aug 2003 16:50:26 -0000	1.78
+++ sdl-common.cpp	4 Aug 2003 22:25:51 -0000	1.79
@@ -118,11 +118,7 @@
 	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 @@
 	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);
 }





More information about the Scummvm-git-logs mailing list