[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl.cpp,1.32,1.33
Max Horn
fingolfin at users.sourceforge.net
Wed May 28 15:20:02 CEST 2003
Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1:/tmp/cvs-serv17139
Modified Files:
sdl.cpp
Log Message:
fix for the crash in Sky when switching scalers
Index: sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl.cpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- sdl.cpp 28 May 2003 21:57:22 -0000 1.32
+++ sdl.cpp 28 May 2003 22:19:11 -0000 1.33
@@ -204,6 +204,8 @@
if (!_screen)
return;
+ StackLock lock(_mutex); // Lock the mutex until this function ends
+
// Keep around the old _screen & _tmpscreen so we can restore the screen data
// after the mode switch.
SDL_Surface *old_screen = _screen;
More information about the Scummvm-git-logs
mailing list